diff options
author | joerg <joerg@pkgsrc.org> | 2006-06-06 19:47:48 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-06-06 19:47:48 +0000 |
commit | 9699e47f578bdca903128d90aa382e9d6da88413 (patch) | |
tree | face7763d47c4421647f2ad689df4d8b2a5679cf /net/LaBrea | |
parent | 4dbb02c0da15662ce51bc067c544c17c5529890c (diff) | |
download | pkgsrc-9699e47f578bdca903128d90aa382e9d6da88413.tar.gz |
On BSDs also check if BIOCIMMEDIATE is actually defined, DragonFly
is (still) missing it.
Diffstat (limited to 'net/LaBrea')
-rw-r--r-- | net/LaBrea/distinfo | 3 | ||||
-rw-r--r-- | net/LaBrea/patches/patch-ab | 13 |
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; + |