summaryrefslogtreecommitdiff
path: root/net-mgmt/tork/files/patch-configure.in.in
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/tork/files/patch-configure.in.in')
-rw-r--r--net-mgmt/tork/files/patch-configure.in.in18
1 files changed, 5 insertions, 13 deletions
diff --git a/net-mgmt/tork/files/patch-configure.in.in b/net-mgmt/tork/files/patch-configure.in.in
index 52a5bcd7c136..088d22c11760 100644
--- a/net-mgmt/tork/files/patch-configure.in.in
+++ b/net-mgmt/tork/files/patch-configure.in.in
@@ -1,20 +1,12 @@
---- configure.in.in.orig 2007-12-29 22:18:50.000000000 +0100
-+++ configure.in.in 2008-02-10 04:03:12.000000000 +0100
-@@ -400,7 +400,7 @@
-
- dnl Checks for libraries.
- dnl Replace `main' with a function in -ldl:
--AC_CHECK_LIB(dl, dlsym,,AC_MSG_ERROR("libdl is required"))
-+AC_CHECK_LIB(c, dlsym,,AC_MSG_ERROR("liblc is required"))
-
- dnl If we're using gcc here define _GNU_SOURCE
- AC_MSG_CHECKING(for RTLD_NEXT from dlfcn.h)
-@@ -606,8 +606,9 @@
+--- configure.in.in.orig 2008-04-21 19:45:36.000000000 +0200
++++ configure.in.in 2008-04-21 19:46:32.000000000 +0200
+@@ -822,9 +822,9 @@
dnl Find the correct poll prototype on this machine
AC_MSG_CHECKING(for correct poll prototype)
-PROTO=
--for testproto in 'struct pollfd *ufds, unsigned long nfds, int timeout'
+-for testproto in 'struct pollfd *ufds, unsigned long nfds, int timeout' \
+- 'struct pollfd *ufds, nfds_t nfds, int timeout'
+PROTO1="struct pollfd fds[], nfds_t nfds, int timeout"
+PROTO2="struct pollfd *fds, unsigned int nfds, int timeout"
+for PROTO in "$PROTO1" "$PROTO2"