diff options
Diffstat (limited to 'net/xipdump/patches/patch-ab')
-rw-r--r-- | net/xipdump/patches/patch-ab | 49 |
1 files changed, 43 insertions, 6 deletions
diff --git a/net/xipdump/patches/patch-ab b/net/xipdump/patches/patch-ab index 8ce36488daa..cc0d47a2095 100644 --- a/net/xipdump/patches/patch-ab +++ b/net/xipdump/patches/patch-ab @@ -1,17 +1,54 @@ -$NetBSD: patch-ab,v 1.1.1.1 1999/11/15 02:29:51 sakamoto Exp $ +$NetBSD: patch-ab,v 1.2 2000/09/09 19:23:25 wiz Exp $ ---- ./configure.orig Fri Nov 12 12:56:19 1999 -+++ ./configure Mon Nov 15 10:06:16 1999 -@@ -1361,4 +1361,6 @@ +--- configure.orig Wed Dec 22 09:51:48 1999 ++++ configure +@@ -1360,8 +1360,10 @@ + LDFLAGS="$LDFLAGS -L$PCAP_LIBPATH" fi +if false +then echo $ac_n "checking for local libnet library""... $ac_c" 1>&6 echo "configure:1365: checking for local libnet library" >&5 -@@ -1389,4 +1391,5 @@ + libnet=FAIL + lastdir=FAIL + places=`ls .. | sed -e 's,/$,,' -e 's,^,../,' | \ +@@ -1389,18 +1391,7 @@ then LDFLAGS="$LDFLAGS -L$LIBNET_LIBPATH" -+fi fi +- +-if test "x$ac_cv_c_bigendian" = "xyes"; then +- cat >> confdefs.h <<\EOF +-#define LIBNET_BIG_ENDIAN 1 +-EOF +- +-else +- cat >> confdefs.h <<\EOF +-#define LIBNET_LIL_ENDIAN 1 +-EOF +- + fi +- ++ + for ac_func in gethostbyname getservbyname + do +@@ -1877,6 +1868,18 @@ + fi + + ++if test "x$ac_cv_c_bigendian" = "xyes"; then ++ cat >> confdefs.h <<\EOF ++#define LIBNET_BIG_ENDIAN 1 ++EOF ++ ++else ++ cat >> confdefs.h <<\EOF ++#define LIBNET_LIL_ENDIAN 1 ++EOF ++ ++fi ++ + for ac_func in bzero bcopy bcmp strdup qsort snprintf usleep strerror strtol strtoul dlopen scandir + do |