perl-net-dns-resolver-programmable used the undocumented and internal method Net::DNS::rcodesbyname [0], and that interface is no longer exposed. This patch, copied from [1], makes the program check for the existence of the method before trying to use it. [0] [1] diff --git a/lib/Net/DNS/Resolver/Programmable.pm b/lib/Net/DNS/Resolver/Programmable.pm index 1af72ce..e09a2f0 100644 --- a/lib/Net/DNS/Resolver/Programmable.pm +++ b/lib/Net/DNS/Resolver/Programmable.pm @@ -203,8 +203,10 @@ sub send { if (defined(my $resolver_code = $self->{resolver_code})) { ($result, $aa, @answer_rrs) = $resolver_code->($domain, $rr_type, $class); } - - if (not defined($result) or defined($Net::DNS::rcodesbyname{$result})) { + + if (not defined($result) + or defined($Net::DNS::Parameters::rcodebyname{$result}) + or defined($Net::DNS::rcodesbyname{$result})) { # Valid RCODE, return a packet: $aa = TRUE if not defined($aa); 8a'>refslogtreecommitdiff
AgeCommit message (Expand)Author
2021-12-13gnu: Simplify package inputs....This commit was obtained by running: ./pre-inst-env guix style without any additional argument. Ludovic Courtès
2021-10-03gnu: gramps: Update to 5.1.4....* gnu/packages/genealogy.scm (gramps): Update to 5.1.4. Tobias Geerinckx-Rice
2021-03-28gnu: gramps: Update to 5.1.3....* gnu/packages/genealogy.scm (gramps): Update to 5.1.3. Tobias Geerinckx-Rice