summaryrefslogtreecommitdiff
path: root/net/libpcap/patches
diff options
context:
space:
mode:
authoryyamano <yyamano@pkgsrc.org>2005-05-30 16:46:21 +0000
committeryyamano <yyamano@pkgsrc.org>2005-05-30 16:46:21 +0000
commitf584d1001567d625eac373ee306e93fe4a6d7fab (patch)
treea3c84c820a3cc324bba43543000463f1e2d244f1 /net/libpcap/patches
parent1b9734a19b684e24297a8594fb45559c00233f43 (diff)
downloadpkgsrc-f584d1001567d625eac373ee306e93fe4a6d7fab.tar.gz
Make this build on Darwin 8.1.0.
Diffstat (limited to 'net/libpcap/patches')
-rw-r--r--net/libpcap/patches/patch-aa13
1 files changed, 13 insertions, 0 deletions
diff --git a/net/libpcap/patches/patch-aa b/net/libpcap/patches/patch-aa
new file mode 100644
index 00000000000..e1a413ceecb
--- /dev/null
+++ b/net/libpcap/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2005/05/30 16:46:21 yyamano 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
+