pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/49524: Unbreak net/dnsmasq



>Number:         49524
>Category:       pkg
>Synopsis:       Unbreak net/dnsmasq
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 02 04:20:00 +0000 2015
>Originator:     Sevan Janiyan
>Release:        pkgsrc-current
>Organization:
>Environment:
Darwin 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc
>Description:
On Darwin, SIOCGIFAFLAG_IN6, IN6_IFF_TENTATIVE, IN6_IFF_DEPRECATED & SIOCGIFALIFETIME_IN6 used in bpf.c are referenced in netinet6/in6_var.h
>How-To-Repeat:

>Fix:
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/net/dnsmasq/distinfo,v
retrieving revision 1.21
diff -u -r1.21 distinfo
--- distinfo    12 Nov 2013 12:12:45 -0000      1.21
+++ distinfo    2 Jan 2015 04:16:11 -0000
@@ -3,3 +3,4 @@
 SHA1 (dnsmasq-2.67.tar.gz) = 550c7ea2bef2a74a089c664d95fc52420a8cb726
 RMD160 (dnsmasq-2.67.tar.gz) = c2f3f9d7978bc9eddbcb77add54acdf3c8103fa8
 Size (dnsmasq-2.67.tar.gz) = 600838 bytes
+SHA1 (patch-src_bpf.c) = 5a23d2cdeef5b2891d28476eefd92ccd2f9b1bf4
cvs diff: Diffing files
cvs diff: Diffing files/smf
cvs diff: Diffing patches
Index: patches/patch-src_bpf.c
===================================================================
RCS file: patches/patch-src_bpf.c
diff -N patches/patch-src_bpf.c
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_bpf.c     2 Jan 2015 04:16:11 -0000
@@ -0,0 +1,15 @@
+$NetBSD$
+
+--- src/bpf.c.orig     2015-01-02 04:23:05.000000000 +0000
++++ src/bpf.c
+@@ -19,6 +19,10 @@
+ #if defined(HAVE_BSD_NETWORK) || defined(HAVE_SOLARIS_NETWORK)
+ #include <ifaddrs.h>
+ 
++#if defined(__APPLE__)
++#include <netinet6/in6_var.h>
++#endif
++
+ #if defined(HAVE_BSD_NETWORK) && !defined(__APPLE__)
+ #include <sys/param.h>
+ #include <sys/sysctl.h>



Home | Main Index | Thread Index | Old Index