summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorhans <hans>2011-09-14 17:30:04 +0000
committerhans <hans>2011-09-14 17:30:04 +0000
commit6a6969c3ee5777b2b0de4bfe2e345d122e21bfde (patch)
tree6ce892743402dbdab5046bf9a0b76079af3c63b9 /net
parent9e9a300c5dc81c6b0d53ca9e4676aa52f79220b6 (diff)
downloadpkgsrc-6a6969c3ee5777b2b0de4bfe2e345d122e21bfde.tar.gz
Recent SunOS has AF_PACKET, but that doesn't mean the code works there.
Diffstat (limited to 'net')
-rw-r--r--net/libpcap/distinfo3
-rw-r--r--net/libpcap/patches/patch-ad13
2 files changed, 15 insertions, 1 deletions
diff --git a/net/libpcap/distinfo b/net/libpcap/distinfo
index 23c18609f5b..0d2803266ed 100644
--- a/net/libpcap/distinfo
+++ b/net/libpcap/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.24 2011/02/11 12:11:26 adam Exp $
+$NetBSD: distinfo,v 1.25 2011/09/14 17:30:04 hans Exp $
SHA1 (libpcap-1.1.1.tar.gz) = 18581af5e78a40b7b2c9a6cd8ce40e7cb1cd9c63
RMD160 (libpcap-1.1.1.tar.gz) = 760159c594cc995c9e05c0cd8637a02a3b2725e2
Size (libpcap-1.1.1.tar.gz) = 581984 bytes
SHA1 (patch-aa) = 2a797ffee404d1cfd38e7d739796e47c514ec5c3
SHA1 (patch-ac) = 5ef8c530b0fc49fff223ebfc7861868c0f1a1884
+SHA1 (patch-ad) = 7f13de40a6cdaf9db68704979948450265ff961a
diff --git a/net/libpcap/patches/patch-ad b/net/libpcap/patches/patch-ad
new file mode 100644
index 00000000000..a5ee0146d71
--- /dev/null
+++ b/net/libpcap/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.5 2011/09/14 17:30:04 hans Exp $
+
+--- fad-getad.c.orig 2010-04-05 19:54:05.000000000 +0200
++++ fad-getad.c 2011-07-28 20:28:17.246289360 +0200
+@@ -60,7 +60,7 @@ static const char rcsid[] _U_ =
+ #include "os-proto.h"
+ #endif
+
+-#ifdef AF_PACKET
++#if defined(AF_PACKET) && !defined(__sun)
+ # ifdef __Lynx__
+ /* LynxOS */
+ # include <netpacket/if_packet.h>