summaryrefslogtreecommitdiff
path: root/www/php4/patches/patch-ab
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-03-13 21:34:02 +0000
committerjlam <jlam@pkgsrc.org>2001-03-13 21:34:02 +0000
commit1e58c1f0d9de0a97ec0774c4f06eedd70a49f5d2 (patch)
treef8b5c63e1a9e1a0ae815c8bcc5c9f5a91991511f /www/php4/patches/patch-ab
parent0c1c2b28f34ea74daa2de55a6a88ff8f3d510ca9 (diff)
downloadpkgsrc-1e58c1f0d9de0a97ec0774c4f06eedd70a49f5d2.tar.gz
Include <sys/types.h> before including <sys/socket.h> in thest for IPv6
support. Fix suggested in pkg/12199 by Olaf Seibert <rhialto@polderland.nl>.
Diffstat (limited to 'www/php4/patches/patch-ab')
-rw-r--r--www/php4/patches/patch-ab16
1 files changed, 12 insertions, 4 deletions
diff --git a/www/php4/patches/patch-ab b/www/php4/patches/patch-ab
index 92e1433a93a..6e613cc0764 100644
--- a/www/php4/patches/patch-ab
+++ b/www/php4/patches/patch-ab
@@ -1,8 +1,16 @@
-$NetBSD: patch-ab,v 1.4 2001/02/12 04:14:28 jlam Exp $
+$NetBSD: patch-ab,v 1.5 2001/03/13 21:34:03 jlam Exp $
--- configure.orig Thu Jan 11 13:39:29 2001
+++ configure
-@@ -40176,6 +40176,7 @@
+@@ -6336,6 +6336,7 @@
+ cat > conftest.$ac_ext <<EOF
+ #line 6338 "configure"
+ #include "confdefs.h"
++#include <sys/types.h>
+ #include <sys/socket.h>
+ #include <netinet/in.h>
+ int main() {
+@@ -40176,6 +40177,7 @@
fi
@@ -10,7 +18,7 @@ $NetBSD: patch-ab,v 1.4 2001/02/12 04:14:28 jlam Exp $
echo $ac_n "checking for pam_start in -lpam""... $ac_c" 1>&6
echo "configure:40181: checking for pam_start in -lpam" >&5
ac_lib_var=`echo pam'_'pam_start | sed 'y%./+-%__p_%'`
-@@ -40220,6 +40221,8 @@
+@@ -40220,6 +40222,8 @@
else
echo "$ac_t""no" 1>&6
fi
@@ -19,7 +27,7 @@ $NetBSD: patch-ab,v 1.4 2001/02/12 04:14:28 jlam Exp $
for ac_func in getcwd getwd
-@@ -47325,9 +47328,6 @@
+@@ -47325,9 +47329,6 @@
$SHELL $srcdir/ltconfig --output=shlibtool --disable-static --srcdir=$srcdir --cache-file=./config.cache $srcdir/ltmain.sh
SHARED_LIBTOOL='$(SHELL) $(top_builddir)/shlibtool'