summaryrefslogtreecommitdiff
path: root/devel/libev/files/patch-ev.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@FreeBSD.org>2010-08-17 14:28:15 +0000
committerVsevolod Stakhov <vsevolod@FreeBSD.org>2010-08-17 14:28:15 +0000
commit5fa73c384b7638e1cf1eb1f0240317d8c1bae742 (patch)
tree662bc3c8a4db0ceba9d3a70c68e86d26443271b0 /devel/libev/files/patch-ev.c
parentSecurity vulnerability: local root privileges escalation problems (diff)
- Update to 3.9
- Add kqueue to recommended backends - Fix TABs in Makefile PR: 149681 Submitted by: mm
Notes
Notes: svn path=/head/; revision=259430
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 */