[libnet-dns-zonefile-fast-perl] 03/06: Add patch to fix compatibility with recent Net::DNS (Closes: #764473)
Ondrej Sury
ondrej at moszumanska.debian.org
Sun Oct 12 16:37:19 UTC 2014
This is an automated email from the git hooks/post-receive script.
ondrej pushed a commit to branch master
in repository libnet-dns-zonefile-fast-perl.
commit 1a40cbc4df1e7de0ac7a7874945e8d3627c2d096
Author: Ondřej Surý <ondrej at sury.org>
Date: Sun Oct 12 18:11:08 2014 +0200
Add patch to fix compatibility with recent Net::DNS (Closes: #764473)
---
debian/patches/fix-for-new-libnet-dns-perl.patch | 21 +++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 22 insertions(+)
diff --git a/debian/patches/fix-for-new-libnet-dns-perl.patch b/debian/patches/fix-for-new-libnet-dns-perl.patch
new file mode 100644
index 0000000..f82f3bb
--- /dev/null
+++ b/debian/patches/fix-for-new-libnet-dns-perl.patch
@@ -0,0 +1,21 @@
+--- libnet-dns-zonefile-fast-perl.orig/Fast.pm
++++ libnet-dns-zonefile-fast-perl/Fast.pm
+@@ -1463,6 +1463,18 @@ sub ttl_fromtext
+ return $ttl;
+ }
+
++package Net::DNS::RR;
++sub Line
++ {
++ my $self = shift;
++ $self->{Line} = shift || return $self->{Line};
++ }
++
++sub first { }
++sub hashlength { }
++sub hnxtnamebin { }
++sub saltlength { }
++
+ 1;
+
+ __END__
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..37f1203
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-for-new-libnet-dns-perl.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libnet-dns-zonefile-fast-perl.git
More information about the Pkg-perl-cvs-commits
mailing list