summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsalo <salo@pkgsrc.org>2005-06-05 18:51:34 +0000
committersalo <salo@pkgsrc.org>2005-06-05 18:51:34 +0000
commitbc4769a4520caa300d763ca515f88611fa406cdd (patch)
treee22f92bc6d0aba9986c5de3c2ef565decd79acf3
parent81002daaf69d0fcd2dfc8a526e233d5b8f0da148 (diff)
downloadpkgsrc-bc4769a4520caa300d763ca515f88611fa406cdd.tar.gz
Pullup ticket 543 - requested by Robert T. Retzlaff
portability fix for libpcap Revisions pulled up: - pkgsrc/net/libpcap/distinfo 1.7 - pkgsrc/net/libpcap/patches/patch-aa 1.1 Module Name: pkgsrc Committed By: yyamano Date: Mon May 30 16:46:21 UTC 2005 Modified Files: pkgsrc/net/libpcap: distinfo Added Files: pkgsrc/net/libpcap/patches: patch-aa Log Message: Make this build on Darwin 8.1.0.
-rw-r--r--net/libpcap/distinfo3
-rw-r--r--net/libpcap/patches/patch-aa13
2 files changed, 15 insertions, 1 deletions
diff --git a/net/libpcap/distinfo b/net/libpcap/distinfo
index 40eff8dc76d..b689c8339e7 100644
--- a/net/libpcap/distinfo
+++ b/net/libpcap/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.6 2005/02/24 12:13:52 agc Exp $
+$NetBSD: distinfo,v 1.6.2.1 2005/06/05 18:51:34 salo Exp $
SHA1 (libpcap-0.8.3.tar.gz) = 24de556bf3dc960ad6c9839ad936037a7c8045e5
RMD160 (libpcap-0.8.3.tar.gz) = f50e9db9d648100cdc9fcbbecde14bfccac2b2b5
Size (libpcap-0.8.3.tar.gz) = 302551 bytes
+SHA1 (patch-aa) = 4b0ac3ceb09302f3916a55c05f6dd505df6c086d
diff --git a/net/libpcap/patches/patch-aa b/net/libpcap/patches/patch-aa
new file mode 100644
index 00000000000..151e28d15bd
--- /dev/null
+++ b/net/libpcap/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.2.2 2005/06/05 18:51:34 salo Exp $
+
+--- nametoaddr.c.orig 2003-11-20 03:13:48.000000000 +0900
++++ nametoaddr.c
+@@ -390,7 +390,7 @@ pcap_ether_hostton(const char *name)
+ * compile on one of 3.x or 4.x).
+ */
+ #if !defined(sgi) && !defined(__NetBSD__) && !defined(__FreeBSD__) && \
+- !defined(_UNICOSMP)
++ !defined(_UNICOSMP) && !defined(__APPLE__)
+ extern int ether_hostton(char *, struct ether_addr *);
+ #endif
+