freebsd-ports/databases/tarantool/files/patch-third_party__libev_ev.c
Veniamin Gvozdikov 9ca46bc484 - Update to 1.5.1
- Added plugins support
- Removed static build, doesn't work more details:
https://github.com/tarantool/tarantool/issues/19
- Added patch from devel/libev

Approved by:	eadler (mentor)
2013-10-03 22:12:08 +00:00

15 lines
594 B
C

--- third_party/libev/ev.c.orig 2013-09-25 17:14:35.398672102 +0000
+++ third_party/libev/ev.c 2013-09-25 17:15:23.878672738 +0000
@@ -2226,10 +2226,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 */