pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/dnsmasq Fix build on SunOS with IPv6.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/64731195230a
branches:  trunk
changeset: 360093:64731195230a
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Tue Mar 21 09:18:15 2017 +0000

description:
Fix build on SunOS with IPv6.

diffstat:

 net/dnsmasq/distinfo                |   3 ++-
 net/dnsmasq/patches/patch-src_bpf.c |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 2102833f9d8e -r 64731195230a net/dnsmasq/distinfo
--- a/net/dnsmasq/distinfo      Tue Mar 21 08:00:26 2017 +0000
+++ b/net/dnsmasq/distinfo      Tue Mar 21 09:18:15 2017 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.31 2016/11/08 11:59:05 mef Exp $
+$NetBSD: distinfo,v 1.32 2017/03/21 09:18:15 fhajny Exp $
 
 SHA1 (dnsmasq-2.76.tar.gz) = 3cb264e2505a06705203d616883db5ee6ac00026
 RMD160 (dnsmasq-2.76.tar.gz) = ad7c271b90c8aaeb6f642eb63539cc5c52d7f9a7
 SHA512 (dnsmasq-2.76.tar.gz) = c22627a8d864671096d3b3428ec4f879b513e1f1e7f79be3ab89444c56234e748fbfa6b6b4f9e521984fea95d363f4aa2ca6243f0dfc12ffb74bed0648ae21c5
 Size (dnsmasq-2.76.tar.gz) = 697191 bytes
 SHA1 (patch-dnsmasq.conf.example) = 2974c722a26400915037259c79899e8a3e95bf8f
+SHA1 (patch-src_bpf.c) = 05dc64c016c608e6b963ce9ee80c28e872a88f9e
diff -r 2102833f9d8e -r 64731195230a net/dnsmasq/patches/patch-src_bpf.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/dnsmasq/patches/patch-src_bpf.c       Tue Mar 21 09:18:15 2017 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_bpf.c,v 1.8 2017/03/21 09:18:15 fhajny Exp $
+
+SunOS doesn't have netinet6/in6_var.h.
+
+--- src/bpf.c.orig     2016-05-18 14:51:54.000000000 +0000
++++ src/bpf.c
+@@ -31,7 +31,7 @@
+ #  include <net/if_var.h> 
+ #endif
+ #include <netinet/in_var.h>
+-#ifdef HAVE_IPV6
++#if defined(HAVE_IPV6) && defined(HAVE_BSD_NETWORK)
+ #  include <netinet6/in6_var.h>
+ #endif
+ 



Home | Main Index | Thread Index | Old Index