aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaap Akkerhuis <jaap@NLnetLabs.nl>2023-02-07 13:13:09 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2023-02-07 15:23:14 +0000
commit2272e34787c3e6839841c0e4ea919b569dbb5cfc (patch)
tree62d609936f6edc2f27b06ea4259914553e482016
parent4747e1050974d56bb33b987fac3f32ddcec19372 (diff)
downloadports-2272e34787c3e6839841c0e4ea919b569dbb5cfc.tar.gz
ports-2272e34787c3e6839841c0e4ea919b569dbb5cfc.zip
dns/unbound: fix build with AAAA option ON
PR: 269337 Reported by: void@f-m.fm MFH: 2023Q1 (build fix)
-rw-r--r--dns/unbound/Makefile2
-rw-r--r--dns/unbound/files/patch-contrib_aaaa-filter-iterator.patch11
2 files changed, 12 insertions, 1 deletions
diff --git a/dns/unbound/Makefile b/dns/unbound/Makefile
index 4059e45a4155..2f8c7b4eefb7 100644
--- a/dns/unbound/Makefile
+++ b/dns/unbound/Makefile
@@ -1,6 +1,6 @@
PORTNAME= unbound
DISTVERSION= 1.17.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= dns
MASTER_SITES= https://www.nlnetlabs.nl/downloads/unbound/
diff --git a/dns/unbound/files/patch-contrib_aaaa-filter-iterator.patch b/dns/unbound/files/patch-contrib_aaaa-filter-iterator.patch
new file mode 100644
index 000000000000..a885d2269e0b
--- /dev/null
+++ b/dns/unbound/files/patch-contrib_aaaa-filter-iterator.patch
@@ -0,0 +1,11 @@
+--- contrib/aaaa-filter-iterator.patch.orig 2023-02-06 14:22:58 UTC
++++ contrib/aaaa-filter-iterator.patch
+@@ -108,6 +108,8 @@ index 2482a1f4..bd5ba243 100644
+ iter_env->supports_ipv6 = cfg->do_ip6;
+ iter_env->supports_ipv4 = cfg->do_ip4;
+ iter_env->outbound_msg_retry = cfg->outbound_msg_retry;
++ iter_env->max_sent_count = cfg->max_sent_count;
++ iter_env->max_query_restarts = cfg->max_query_restarts;
+ + iter_env->aaaa_filter = cfg->aaaa_filter;
+ return 1;
+ }