Skip to content

Commit

Permalink
dns/unbound: fix build with AAAA option ON
Browse files Browse the repository at this point in the history
PR:		269337
Reported by:	void@f-m.fm
MFH:		2023Q1 (build fix)
  • Loading branch information
Jakker authored and Fernando Apesteguía committed Feb 7, 2023
1 parent 4747e10 commit 2272e34
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion 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/

Expand Down
11 changes: 11 additions & 0 deletions 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;
}

0 comments on commit 2272e34

Please sign in to comment.