summaryrefslogtreecommitdiff
path: root/devel/libev/files/patch-ev.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--devel/libev/files/patch-ev.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/libev/files/patch-ev.c b/devel/libev/files/patch-ev.c
new file mode 100644
index 000000000000..945cf988824d
--- /dev/null
+++ b/devel/libev/files/patch-ev.c
@@ -0,0 +1,15 @@
+--- ev.c.orig 2010-08-16 08:33:48.667681306 +0200
++++ ev.c 2010-08-16 08:33:51.449982136 +0200
+@@ -1470,10 +1470,12 @@
+ unsigned int flags = ev_supported_backends ();
+
+ #ifndef __NetBSD__
++#ifndef __FreeBSD__
+ /* kqueue is borked on everything but netbsd apparently */
+ /* it usually doesn't work correctly on anything but sockets and pipes */
+ flags &= ~EVBACKEND_KQUEUE;
+ #endif
++#endif
+ #ifdef __APPLE__
+ /* only select works correctly on that "unix-certified" platform */
+ flags &= ~EVBACKEND_KQUEUE; /* horribly broken, even for sockets */