summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-06-06 19:47:48 +0000
committerjoerg <joerg@pkgsrc.org>2006-06-06 19:47:48 +0000
commit912dfe1cf805babefb4b823f1f4ae32479bd6c52 (patch)
treeface7763d47c4421647f2ad689df4d8b2a5679cf /net
parentebe30855cf23cd7218231d4302ae02947868a3b5 (diff)
downloadpkgsrc-912dfe1cf805babefb4b823f1f4ae32479bd6c52.tar.gz
On BSDs also check if BIOCIMMEDIATE is actually defined, DragonFly
is (still) missing it.
Diffstat (limited to 'net')
-rw-r--r--net/LaBrea/distinfo3
-rw-r--r--net/LaBrea/patches/patch-ab13
2 files changed, 15 insertions, 1 deletions
diff --git a/net/LaBrea/distinfo b/net/LaBrea/distinfo
index aa1f2f63718..9fc3c4dec21 100644
--- a/net/LaBrea/distinfo
+++ b/net/LaBrea/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2005/02/24 12:13:41 agc Exp $
+$NetBSD: distinfo,v 1.5 2006/06/06 19:47:48 joerg Exp $
SHA1 (labrea-2.5-stable-1.tar.gz) = 8f374b05cc50294b2773bda98f8317cf5b102067
RMD160 (labrea-2.5-stable-1.tar.gz) = 27078ab4b4efdd3f0e8233cac228295bc5a5cf47
Size (labrea-2.5-stable-1.tar.gz) = 210494 bytes
SHA1 (patch-aa) = f3b7b2556513a90b24b5adf73a99da28462d33e4
+SHA1 (patch-ab) = 0a53983fd42e6e05242b317464e6c40ac0296518
diff --git a/net/LaBrea/patches/patch-ab b/net/LaBrea/patches/patch-ab
new file mode 100644
index 00000000000..f26a0c55da6
--- /dev/null
+++ b/net/LaBrea/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2006/06/06 19:47:48 joerg Exp $
+
+--- src/pcaputil.c.orig 2006-06-06 19:44:41.000000000 +0000
++++ src/pcaputil.c
+@@ -64,7 +64,7 @@ pcap_open(char *device)
+ if ((pcap = pcap_open_live(device, 31337, 1, PCAP_TIMEOUT, ebuf)) == NULL)
+ return (NULL);
+
+-#ifdef BSD
++#if defined(BSD) && defined(BIOCIMMEDIATE)
+ {
+ int n = 1;
+