disable-epoll.patch 629 B

123456789101112131415161718192021
  1. diff -ruNp apr-1.4.6/configure apr-1.4.6.new/configure
  2. --- apr-1.4.6/configure 2012-02-07 18:17:57.000000000 -0500
  3. +++ apr-1.4.6.new/configure 2013-10-09 19:41:16.603262382 -0400
  4. @@ -20307,6 +20307,8 @@ _ACEOF
  5. fi
  6. done
  7. +# disable epoll support
  8. +if [ yes = no ]; then
  9. # Check for the Linux epoll interface; epoll* may be available in libc
  10. # but return ENOSYS on a pre-2.6 kernel, so do a run-time check.
  11. @@ -20387,6 +20389,8 @@ $as_echo "#define HAVE_EPOLL_CREATE1 1"
  12. fi
  13. +fi
  14. +
  15. # test for dup3
  16. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dup3 support" >&5
  17. $as_echo_n "checking for dup3 support... " >&6; }