From e7e9a1cfb9e52fb060cd0c01bb34e9567a04abbc Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Mon, 21 Sep 2015 14:52:47 +0200 Subject: testing/*: move to main --- main/tsocks/configure.patch | 71 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 main/tsocks/configure.patch (limited to 'main/tsocks/configure.patch') diff --git a/main/tsocks/configure.patch b/main/tsocks/configure.patch new file mode 100644 index 0000000000..e33485ea7c --- /dev/null +++ b/main/tsocks/configure.patch @@ -0,0 +1,71 @@ +*** tsocks-1.8/configure Mon Jul 15 22:51:08 2002 +--- tsocks-1.8/configure.modified Thu Mar 26 18:34:09 2015 +*************** +*** 1299,1314 **** + fi + + +! ac_safe=`echo "sys/poll.h" | sed 'y%./+-%__p_%'` +! echo $ac_n "checking for sys/poll.h""... $ac_c" 1>&6 +! echo "configure:1305: checking for sys/poll.h" >&5 + if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + cat > conftest.$ac_ext < + EOF + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" + { (eval echo configure:1315: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +--- 1299,1314 ---- + fi + + +! ac_safe=`echo "poll.h" | sed 'y%./+-%__p_%'` +! echo $ac_n "checking for poll.h""... $ac_c" 1>&6 +! echo "configure:1305: checking for poll.h" >&5 + if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + cat > conftest.$ac_ext < + EOF + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" + { (eval echo configure:1315: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +*************** +*** 1330,1336 **** + : + else + echo "$ac_t""no" 1>&6 +! { echo "configure: error: "sys/poll.h not found"" 1>&2; exit 1; } + fi + + +--- 1330,1336 ---- + : + else + echo "$ac_t""no" 1>&6 +! { echo "configure: error: "poll.h not found"" 1>&2; exit 1; } + fi + + +*************** +*** 2235,2241 **** + #line 2236 "configure" + #include "confdefs.h" + +! #include + int poll($testproto); + + int main() { +--- 2235,2241 ---- + #line 2236 "configure" + #include "confdefs.h" + +! #include + int poll($testproto); + + int main() { -- cgit v1.2.3