Subject: pkg/30434: patch for pkgsrc-2005Q1 branch net/libpcap
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <rtr@omicron-persei-8.net>
List: pkgsrc-bugs
Date: 06/05/2005 12:47:00
>Number:         30434
>Category:       pkg
>Synopsis:       patch for pkgsrc-2005Q1 branch net/libpcap
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 05 12:47:00 +0000 2005
>Originator:     Tyler Retzlaff
>Release:        MacOSX 10.4
>Organization:
>Environment:
Darwin dr-zoidberg.local 8.1.0 Darwin Kernel Version 8.1.0: Tue May 10 18:16:08 PDT 2005; root:xnu-792.1.5.obj~4/RELEASE_PPC Power Macintosh powerpc

>Description:
patches/patch-aa for net/libpcap, patch is self explanitory
>How-To-Repeat:

>Fix:
--- /dev/null   2005-06-05 22:44:10.000000000 +1000
+++ net/libpcap/patches/patch-aa        2005-06-05 22:35:29.000000000 +1000
@@ -0,0 +1,11 @@
+--- nametoaddr.c.orig  2003-11-20 05:13:48.000000000 +1100
++++ nametoaddr.c       2005-06-05 22:28:25.000000000 +1000
+@@ -390,7 +390,7 @@
+  * 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
+ 
--- net/libpcap/distinfo        24 Feb 2005 12:13:52 -0000      1.6
+++ net/libpcap/distinfo        5 Jun 2005 12:46:12 -0000
@@ -3,3 +3,4 @@ $NetBSD: distinfo,v 1.6 2005/02/24 12:13
 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) = dddc86c01b69b1efa7f1467f98f14a5244eedb32