summaryrefslogtreecommitdiff
path: root/net/ethereal
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2003-11-04 14:14:01 +0000
committeradam <adam@pkgsrc.org>2003-11-04 14:14:01 +0000
commitaadd21d1a27c67b9ef377a555605ccd081f2ff03 (patch)
tree0e0a33212720d5c18318ff43abe2f3e891c1ede6 /net/ethereal
parenta876a543b7d7d9a308d6b79104c0e6430a12c937 (diff)
downloadpkgsrc-aadd21d1a27c67b9ef377a555605ccd081f2ff03.tar.gz
Don't use pcap_compile_nopcap()
Diffstat (limited to 'net/ethereal')
-rw-r--r--net/ethereal/Makefile3
-rw-r--r--net/ethereal/distinfo3
-rw-r--r--net/ethereal/patches/patch-aa13
3 files changed, 3 insertions, 16 deletions
diff --git a/net/ethereal/Makefile b/net/ethereal/Makefile
index cdc7678467b..24f5462e9c8 100644
--- a/net/ethereal/Makefile
+++ b/net/ethereal/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.85 2003/11/04 12:49:25 adam Exp $
+# $NetBSD: Makefile,v 1.86 2003/11/04 14:14:01 adam Exp $
#
DISTNAME= ethereal-0.9.16
@@ -33,6 +33,7 @@ CONFIGURE_ARGS+= --with-ssl=${SSLBASE}
CONFIGURE_ARGS+= --with-net-snmp=${BUILDLINK_PREFIX.net-snmp}
CONFIGURE_ARGS+= --with-pcap=${BUILDLINK_PREFIX.libpcap}
CONFIGURE_ARGS+= --with-zlib=${BUILDLINK_PREFIX.zlib}
+CONFIGURE_ENV+= ac_cv_func_pcap_compile_nopcap=no
PTHREAD_OPTS= require
diff --git a/net/ethereal/distinfo b/net/ethereal/distinfo
index ed838ddc673..0661a90ce58 100644
--- a/net/ethereal/distinfo
+++ b/net/ethereal/distinfo
@@ -1,5 +1,4 @@
-$NetBSD: distinfo,v 1.23 2003/11/04 12:49:25 adam Exp $
+$NetBSD: distinfo,v 1.24 2003/11/04 14:14:01 adam Exp $
SHA1 (ethereal-0.9.16.tar.bz2) = 65c9d7b6a9a677592e0420e607e9a0d7e7928d79
Size (ethereal-0.9.16.tar.bz2) = 4288070 bytes
-SHA1 (patch-aa) = 411fa4498f4564db37ff890625ead2a8a2d1b259
diff --git a/net/ethereal/patches/patch-aa b/net/ethereal/patches/patch-aa
deleted file mode 100644
index 06ae29a134b..00000000000
--- a/net/ethereal/patches/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.9 2003/11/04 12:49:25 adam Exp $
-
---- tethereal.c.orig 2003-11-04 13:30:48.000000000 +0100
-+++ tethereal.c
-@@ -1394,7 +1394,7 @@ main(int argc, char *argv[])
- fprintf(stderr, "tethereal: %s\n", dfilter_error_msg);
- epan_cleanup();
- #ifdef HAVE_PCAP_COMPILE_NOPCAP
-- if (pcap_compile_nopcap(DLT_EN10MB, 0, &fcode, rfilter, 0, 0) != -1) {
-+ if (pcap_compile_nopcap(DLT_EN10MB, 0, &fcode, rfilter, 0, 0, err_str) != -1) {
- fprintf(stderr,
- " Note: This display filter code looks like a valid capture filter;\n"
- " maybe you mixed them up?\n");