From bc4769a4520caa300d763ca515f88611fa406cdd Mon Sep 17 00:00:00 2001 From: salo Date: Sun, 5 Jun 2005 18:51:34 +0000 Subject: 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. --- net/libpcap/distinfo | 3 ++- net/libpcap/patches/patch-aa | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 net/libpcap/patches/patch-aa 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 + -- cgit v1.2.3