diff options
author | bsiegert <bsiegert@pkgsrc.org> | 2015-01-17 13:52:12 +0000 |
---|---|---|
committer | bsiegert <bsiegert@pkgsrc.org> | 2015-01-17 13:52:12 +0000 |
commit | d11a26e58e383992de6ff4e956ace7291832ae51 (patch) | |
tree | d235419d9f79e4055a789d1808cf8ee91879610a /net | |
parent | d128ed2a36bd818665f7a93f77e17c788ce2a066 (diff) | |
download | pkgsrc-d11a26e58e383992de6ff4e956ace7291832ae51.tar.gz |
Add a patch to unbreak building on Mac OS X. From Sevan Janiyan in
PR pkg/49524.
Diffstat (limited to 'net')
-rw-r--r-- | net/dnsmasq/distinfo | 3 | ||||
-rw-r--r-- | net/dnsmasq/patches/patch-src_bpf.c | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/net/dnsmasq/distinfo b/net/dnsmasq/distinfo index 23c3367b7b1..a7b473364d7 100644 --- a/net/dnsmasq/distinfo +++ b/net/dnsmasq/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.23 2014/11/23 13:16:23 cheusov Exp $ +$NetBSD: distinfo,v 1.24 2015/01/17 13:52:12 bsiegert Exp $ SHA1 (dnsmasq-2.67.tar.gz) = 550c7ea2bef2a74a089c664d95fc52420a8cb726 RMD160 (dnsmasq-2.67.tar.gz) = c2f3f9d7978bc9eddbcb77add54acdf3c8103fa8 Size (dnsmasq-2.67.tar.gz) = 600838 bytes SHA1 (patch-dnsmasq.conf.example) = 2974c722a26400915037259c79899e8a3e95bf8f +SHA1 (patch-src_bpf.c) = 8ba0482e8ba9441d5eb235dfb7b4aa556545636c diff --git a/net/dnsmasq/patches/patch-src_bpf.c b/net/dnsmasq/patches/patch-src_bpf.c new file mode 100644 index 00000000000..407ace710ba --- /dev/null +++ b/net/dnsmasq/patches/patch-src_bpf.c @@ -0,0 +1,15 @@ +$NetBSD: patch-src_bpf.c,v 1.3 2015/01/17 13:52:13 bsiegert Exp $ + +--- 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> |