summaryrefslogtreecommitdiff
path: root/www/lighttpd/files/patch-src-fdevent.h
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2011-12-19 07:56:10 +0000
committerMartin Matuska <mm@FreeBSD.org>2011-12-19 07:56:10 +0000
commit449e0af321ecd288ba5b550f6664282e2a92f3ef (patch)
tree852b4f1845224652a0ade0c330929cb8a540f960 /www/lighttpd/files/patch-src-fdevent.h
parentUpdate to the 20111217 snapshot of GCC 4.7.0. (diff)
Update to 1.4.30
Unbreak build if using libev
Diffstat (limited to 'www/lighttpd/files/patch-src-fdevent.h')
-rw-r--r--www/lighttpd/files/patch-src-fdevent.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/lighttpd/files/patch-src-fdevent.h b/www/lighttpd/files/patch-src-fdevent.h
new file mode 100644
index 000000000000..fcafda5b3748
--- /dev/null
+++ b/www/lighttpd/files/patch-src-fdevent.h
@@ -0,0 +1,11 @@
+--- src/fdevent.h.orig 2011-12-19 07:41:33.183877666 +0100
++++ src/fdevent.h 2011-12-19 07:42:01.457863868 +0100
+@@ -54,7 +54,7 @@
+ # include <port.h>
+ #endif
+
+-#if defined HAVE_SYS_EVENT_H && defined HAVE_KQUEUE
++#if defined HAVE_SYS_EVENT_H && defined HAVE_KQUEUE && !defined HAVE_LIBEV
+ # define USE_FREEBSD_KQUEUE
+ # include <sys/event.h>
+ #endif