Skip to content

Commit

Permalink
Pullup ticket 543 - requested by Robert T. Retzlaff
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
salo committed Jun 5, 2005
1 parent 7edb516 commit 8e13fd1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
3 changes: 2 additions & 1 deletion 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
13 changes: 13 additions & 0 deletions 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

0 comments on commit 8e13fd1

Please sign in to comment.