summaryrefslogtreecommitdiff
path: root/net/tsocks/files/patch-configure
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-10-08 01:20:50 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-10-08 01:20:50 +0000
commitd4f1520cee0cb2764786032ae2b83aaf659661eb (patch)
treeaa2f5c4a35e1470acce564b5066826e6e589e142 /net/tsocks/files/patch-configure
parentre-add DISTNAME with a comment regarding security/nmapfe (diff)
new port: net/tsocks
Allow non SOCKS aware applications to use SOCKS without modification. PR: ports/56534 Submitted by: YazzY <yazzy@yazzy.org>
Notes
Notes: svn path=/head/; revision=90580
Diffstat (limited to 'net/tsocks/files/patch-configure')
-rw-r--r--net/tsocks/files/patch-configure38
1 files changed, 38 insertions, 0 deletions
diff --git a/net/tsocks/files/patch-configure b/net/tsocks/files/patch-configure
new file mode 100644
index 000000000000..f0c0d107d8a3
--- /dev/null
+++ b/net/tsocks/files/patch-configure
@@ -0,0 +1,38 @@
+--- configure.orig Sat Sep 6 00:45:57 2003
++++ configure Sat Sep 6 00:46:07 2003
+@@ -1836,14 +1836,14 @@
+ SIMPLELIBS=${LIBS}
+ LIBS=
+
+-echo $ac_n "checking for dlsym in -ldl""... $ac_c" 1>&6
+-echo "configure:1841: checking for dlsym in -ldl" >&5
++echo $ac_n "checking for dlsym in -lc""... $ac_c" 1>&6
++echo "configure:1841: checking for dlsym in -lc" >&5
+ ac_lib_var=`echo dl'_'dlsym | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ ac_save_LIBS="$LIBS"
+-LIBS="-ldl $LIBS"
++LIBS="-lc $LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 1849 "configure"
+ #include "confdefs.h"
+@@ -1877,7 +1877,7 @@
+ #define $ac_tr_lib 1
+ EOF
+
+- LIBS="-ldl $LIBS"
++ LIBS="-lc $LIBS"
+
+ else
+ echo "$ac_t""no" 1>&6
+@@ -2228,7 +2228,7 @@
+ echo $ac_n "checking for correct poll prototype""... $ac_c" 1>&6
+ echo "configure:2230: checking for correct poll prototype" >&5
+ PROTO=
+-for testproto in 'struct pollfd *ufds, unsigned long nfds, int timeout'
++for testproto in 'struct pollfd fds[], nfds_t nfds, int timeout'
+ do
+ if test "${PROTO}" = ""; then
+ cat > conftest.$ac_ext <<EOF