diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-07-23 03:51:51 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-07-23 03:51:51 +0000 |
commit | ff9e4e102459123bc5bf56965828ebb81081d37f (patch) | |
tree | 8bbaff104c07bbae502b52b8a64e4173d2b01544 /community/httptunnel/httptunnel-3.3-build-fix.patch | |
parent | b43524eed7d771a8198c1422d7c46251016fb61b (diff) |
Wed Jul 23 03:42:18 UTC 2014
Diffstat (limited to 'community/httptunnel/httptunnel-3.3-build-fix.patch')
-rw-r--r-- | community/httptunnel/httptunnel-3.3-build-fix.patch | 93 |
1 files changed, 93 insertions, 0 deletions
diff --git a/community/httptunnel/httptunnel-3.3-build-fix.patch b/community/httptunnel/httptunnel-3.3-build-fix.patch new file mode 100644 index 000000000..184b7b401 --- /dev/null +++ b/community/httptunnel/httptunnel-3.3-build-fix.patch @@ -0,0 +1,93 @@ +--- configure.old 2001-02-25 13:07:03.000000000 +0100 ++++ configure 2014-07-22 10:49:32.449242277 +0200 +@@ -1573,45 +1573,12 @@ EOF + + fi + +-for ac_hdr in fcntl.h syslog.h unistd.h sys/poll.h +-do +-ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +-echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +-echo "configure:1581: checking for $ac_hdr" >&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 +-#line 1586 "configure" +-#include "confdefs.h" +-#include <$ac_hdr> ++cat >> confdefs.h <<EOF ++#define HAVE_FCNTL_H 1 ++#define HAVE_SYSLOG_H 1 ++#define HAVE_UNISTD_H 1 ++#define HAVE_SYS_POLL_H 1 + EOF +-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +-{ (eval echo configure:1591: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` +-if test -z "$ac_err"; then +- rm -rf conftest* +- eval "ac_cv_header_$ac_safe=yes" +-else +- echo "$ac_err" >&5 +- echo "configure: failed program was:" >&5 +- cat conftest.$ac_ext >&5 +- rm -rf conftest* +- eval "ac_cv_header_$ac_safe=no" +-fi +-rm -f conftest* +-fi +-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then +- echo "$ac_t""yes" 1>&6 +- ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` +- cat >> confdefs.h <<EOF +-#define $ac_tr_hdr 1 +-EOF +- +-else +- echo "$ac_t""no" 1>&6 +-fi +-done + + + echo $ac_n "checking for working const""... $ac_c" 1>&6 +@@ -1729,39 +1696,6 @@ EOF + ;; + esac + +-echo $ac_n "checking for size_t""... $ac_c" 1>&6 +-echo "configure:1734: checking for size_t" >&5 +-if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then +- echo $ac_n "(cached) $ac_c" 1>&6 +-else +- cat > conftest.$ac_ext <<EOF +-#line 1739 "configure" +-#include "confdefs.h" +-#include <sys/types.h> +-#if STDC_HEADERS +-#include <stdlib.h> +-#include <stddef.h> +-#endif +-EOF +-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | +- egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then +- rm -rf conftest* +- ac_cv_type_size_t=yes +-else +- rm -rf conftest* +- ac_cv_type_size_t=no +-fi +-rm -f conftest* +- +-fi +-echo "$ac_t""$ac_cv_type_size_t" 1>&6 +-if test $ac_cv_type_size_t = no; then +- cat >> confdefs.h <<\EOF +-#define size_t unsigned +-EOF +- +-fi +- + ##AC_CHECK_TYPE(socklen_t, unsigned) # doesn't search <sys/socket.h> + echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 + echo "configure:1768: checking for socklen_t" >&5 |