diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-10-08 08:44:54 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-10-08 08:44:54 +0000 |
commit | c24ee09e79f5208b9e81e01eb22ea2fa2ae503fc (patch) | |
tree | 14c5396ee74f9d19f97171f12d02d820433380a6 /net/tsocks | |
parent | 27c3ffa0a41a6ab6679e0ae36f1e96f56fe0c35d (diff) | |
download | ports-c24ee09e79f5208b9e81e01eb22ea2fa2ae503fc.tar.gz ports-c24ee09e79f5208b9e81e01eb22ea2fa2ae503fc.zip |
Notes
Diffstat (limited to 'net/tsocks')
-rw-r--r-- | net/tsocks/files/patch-configure | 28 | ||||
-rw-r--r-- | net/tsocks/files/patch-parser.c | 10 |
2 files changed, 33 insertions, 5 deletions
diff --git a/net/tsocks/files/patch-configure b/net/tsocks/files/patch-configure index f0c0d107d8a3..275f2c312df2 100644 --- a/net/tsocks/files/patch-configure +++ b/net/tsocks/files/patch-configure @@ -1,5 +1,5 @@ ---- configure.orig Sat Sep 6 00:45:57 2003 -+++ configure Sat Sep 6 00:46:07 2003 +--- configure.orig Mon Jul 15 15:51:08 2002 ++++ configure Wed Oct 8 01:42:17 2003 @@ -1836,14 +1836,14 @@ SIMPLELIBS=${LIBS} LIBS= @@ -27,12 +27,30 @@ else echo "$ac_t""no" 1>&6 -@@ -2228,7 +2228,7 @@ +@@ -2151,6 +2151,7 @@ + #line 2152 "configure" + #include "confdefs.h" + ++ #include <sys/types.h> + #include <sys/socket.h> + int connect($testproto); + +@@ -2227,14 +2228,16 @@ + echo $ac_n "checking for correct poll prototype""... $ac_c" 1>&6 echo "configure:2230: checking for correct poll prototype" >&5 - PROTO= +-PROTO= -for testproto in 'struct pollfd *ufds, unsigned long nfds, int timeout' -+for testproto in 'struct pollfd fds[], 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" do if test "${PROTO}" = ""; then cat > conftest.$ac_ext <<EOF + #line 2236 "configure" + #include "confdefs.h" + ++ #include <sys/types.h> + #include <sys/poll.h> + int poll($testproto); + diff --git a/net/tsocks/files/patch-parser.c b/net/tsocks/files/patch-parser.c new file mode 100644 index 000000000000..080776142a2f --- /dev/null +++ b/net/tsocks/files/patch-parser.c @@ -0,0 +1,10 @@ +--- parser.c.orig Wed Oct 8 01:43:48 2003 ++++ parser.c Wed Oct 8 01:43:58 2003 +@@ -4,6 +4,7 @@ + + */ + ++#include <sys/types.h> + #include <netinet/in.h> + #include <sys/socket.h> + #include <arpa/inet.h> |