aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/squid/squid/fix_epoll_check.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/squid/squid/fix_epoll_check.patch')
-rw-r--r--recipes/squid/squid/fix_epoll_check.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes/squid/squid/fix_epoll_check.patch b/recipes/squid/squid/fix_epoll_check.patch
new file mode 100644
index 0000000000..8f195277fd
--- /dev/null
+++ b/recipes/squid/squid/fix_epoll_check.patch
@@ -0,0 +1,11 @@
+--- squid-2.6.STABLE14.orig/configure.in 2007-07-15 16:21:59.000000000 +0200
++++ squid-2.6.STABLE14/configure.in 2008-03-25 17:15:53.000000000 +0100
+@@ -2416,7 +2416,7 @@
+
+ if test -n "$SELECT_TYPE"; then
+ : # Nothing to do
+-elif test "$ac_cv_epoll_works" = "yes" ; then
++elif test "$ac_cv_func_epoll_ctl" = "yes" && "$ac_cv_epoll_works" = "yes" ; then
+ SELECT_TYPE="epoll"
+ elif test "$ac_cv_func_kqueue" = "yes" ; then
+ SELECT_TYPE="kqueue"