summaryrefslogtreecommitdiff
path: root/devel/libnet
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2005-08-21 12:21:55 +0000
committergrant <grant@pkgsrc.org>2005-08-21 12:21:55 +0000
commitc9d355c6017f2f9e449e3c1b88b12a9df72114f7 (patch)
tree337159030fc61c2e867a4bb010bb82eba94fb404 /devel/libnet
parent5d2bc0dfc210475b440b2c877444e0c5ab1f85ec (diff)
downloadpkgsrc-c9d355c6017f2f9e449e3c1b88b12a9df72114f7.tar.gz
fix a broken configure test for Solaris.
fixes PR pkg/25083 from Petter Lindquist.
Diffstat (limited to 'devel/libnet')
-rw-r--r--devel/libnet/distinfo4
-rw-r--r--devel/libnet/patches/patch-ac22
2 files changed, 22 insertions, 4 deletions
diff --git a/devel/libnet/distinfo b/devel/libnet/distinfo
index f98db2ef0c8..b58c6cae352 100644
--- a/devel/libnet/distinfo
+++ b/devel/libnet/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.5 2005/03/25 17:52:32 adrianp Exp $
+$NetBSD: distinfo,v 1.6 2005/08/21 12:21:55 grant Exp $
SHA1 (libnet-1.0.1b.tar.gz) = 799d14bbc6ec909fb5fc9d7ac5183224f6c84ef5
RMD160 (libnet-1.0.1b.tar.gz) = f66e279ad3d700e975174f4051d109c0d7c9d574
Size (libnet-1.0.1b.tar.gz) = 233325 bytes
SHA1 (patch-aa) = 876755183045f277dd7c113cf1e8c591063058af
SHA1 (patch-ab) = 2bb117012b2a7e775b358e4dad6ae67757f5eb1f
-SHA1 (patch-ac) = b956e06d78ab77ad2ea461706daa9c42a8a9c00a
+SHA1 (patch-ac) = ce45fbee83e878b040443419533b85c1337742e6
diff --git a/devel/libnet/patches/patch-ac b/devel/libnet/patches/patch-ac
index d9c9bcf9975..84b3e1de587 100644
--- a/devel/libnet/patches/patch-ac
+++ b/devel/libnet/patches/patch-ac
@@ -1,7 +1,25 @@
-$NetBSD: patch-ac,v 1.1 2005/03/25 17:52:32 adrianp Exp $
+$NetBSD: patch-ac,v 1.2 2005/08/21 12:21:55 grant Exp $
---- configure.orig 2005-03-25 17:38:37.000000000 +0000
+--- configure.orig 1999-10-28 04:47:27.000000000 +1000
+++ configure
+@@ -503,7 +503,7 @@ fi
+
+ ac_ext=c
+ # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+-ac_cpp='$CPP $CPPFLAGS'
++ac_cpp='${CC-cc} -E $CPPFLAGS'
+ ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+ cross_compiling=$ac_cv_prog_cc_cross
+@@ -737,7 +737,7 @@ echo "configure:737: checking whether th
+
+ ac_ext=c
+ # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+-ac_cpp='$CPP $CPPFLAGS'
++ac_cpp='${CC-cc} -E $CPPFLAGS'
+ ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+ cross_compiling=$ac_cv_prog_cc_cross
@@ -1209,7 +1209,7 @@ fi
echo $ac_n "checking low-level packet interface type""... $ac_c" 1>&6
echo "configure:1211: checking low-level packet interface type" >&5