aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2018-12-10 16:28:27 +0000
committerSteve Wills <swills@FreeBSD.org>2018-12-10 16:28:27 +0000
commit3335ef2baef2a417d067add3cc3af02a53dd05d9 (patch)
treefd84e88a27fa56080b85f48179763d1e67705d45
parent4c65375869f1c752d7999c7744305703f84ac662 (diff)
downloadports-3335ef2baef2a417d067add3cc3af02a53dd05d9.tar.gz
ports-3335ef2baef2a417d067add3cc3af02a53dd05d9.zip
Notes
-rw-r--r--dns/nsd/Makefile1
-rw-r--r--dns/nsd/files/patch-dnstap_dnstap.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/dns/nsd/Makefile b/dns/nsd/Makefile
index 17c28ccd6deb..e561794ac941 100644
--- a/dns/nsd/Makefile
+++ b/dns/nsd/Makefile
@@ -3,6 +3,7 @@
PORTNAME= nsd
PORTVERSION= 4.1.26
+PORTREVISION= 1
CATEGORIES= dns ipv6
MASTER_SITES= http://www.nlnetlabs.nl/downloads/nsd/ \
ftp://ftp.rhnet.is/pub/nsd/
diff --git a/dns/nsd/files/patch-dnstap_dnstap.c b/dns/nsd/files/patch-dnstap_dnstap.c
new file mode 100644
index 000000000000..21cf112728f0
--- /dev/null
+++ b/dns/nsd/files/patch-dnstap_dnstap.c
@@ -0,0 +1,11 @@
+--- dnstap/dnstap.c.orig 2018-12-09 20:25:39 UTC
++++ dnstap/dnstap.c
+@@ -319,7 +319,7 @@ dt_msg_fill_net(struct dt_msg *dm,
+ *has_port = 1;
+ } else if (ss->ss_family == AF_INET) {
+ #else
+- if (ss->ss_family == AF_INET) {
++ if (ss->sin_family == AF_INET) {
+ #endif /* INET6 */
+ struct sockaddr_in *s = (struct sockaddr_in *) ss;
+