summaryrefslogtreecommitdiff
path: root/infrastructure
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2014-12-15 23:32:31 +0000
committerChris Wilson <chris+github@qwirx.com>2014-12-15 23:32:31 +0000
commitd024be641cebcddfe529bc64014863b3eadfd336 (patch)
tree463a48b798a226b43d5a65e261bd072179c7d41e /infrastructure
parent5a54d899674878e6a8eae7e87163ffc4ddeed5db (diff)
Add a note about why fixing NetBSD's kqueue support is harder than it looks.
Diffstat (limited to 'infrastructure')
-rw-r--r--infrastructure/m4/boxbackup_tests.m45
1 files changed, 4 insertions, 1 deletions
diff --git a/infrastructure/m4/boxbackup_tests.m4 b/infrastructure/m4/boxbackup_tests.m4
index 7248a74b..44117d8f 100644
--- a/infrastructure/m4/boxbackup_tests.m4
+++ b/infrastructure/m4/boxbackup_tests.m4
@@ -285,7 +285,10 @@ AC_CHECK_FUNCS([utimensat])
AC_SEARCH_LIBS([setproctitle], ["bsd"])
# NetBSD implements kqueue too differently for us to get it fixed by 0.10
-# TODO: Remove this when NetBSD kqueue implementation is working
+# TODO: Remove this when NetBSD kqueue implementation is working. The main
+# thing to fix is that ServerStream needs to put a pointer into WaitForEvent,
+# which wants to store it in struct kevent.udata, but on NetBSD that's an
+# intptr_t instead of a void *, and it doesn't like accepting pointers.
netbsd_hack=`echo $target_os | sed 's/netbsd.*/netbsd/'`
if test "$netbsd_hack" != "netbsd"; then
AC_CHECK_FUNCS([kqueue])