commit: 84fb75a0c7f17bc41095af08f96446a8b306f683
Author: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 11 18:14:55 2015 +0000
Commit: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
CommitDate: Tue Aug 11 18:27:18 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84fb75a0
net-libs/ldns: fix build with perl 5.22
Fixes #554982. Thanks to Paolo Pedroni for the patch.
Signed-off-by: Marc Schiffbauer <mschiff <AT> gentoo.org>
net-libs/ldns/files/ldns-1.6.17_perl522.patch | 11 +++++++++++
net-libs/ldns/ldns-1.6.17.ebuild | 4 ++++
2 files changed, 15 insertions(+)
diff --git a/net-libs/ldns/files/ldns-1.6.17_perl522.patch
b/net-libs/ldns/files/ldns-1.6.17_perl522.patch
new file mode 100644
index 0000000..ef9c82c
--- /dev/null
+++ b/net-libs/ldns/files/ldns-1.6.17_perl522.patch
@@ -0,0 +1,11 @@
+--- a/doc/doxyparse.pl 2014-01-10 22:04:41.000000000 +0100
++++ b/doc/doxyparse.pl 2015-07-15 18:31:33.744755996 +0200
+@@ -273,7 +273,7 @@
+
+ print MAN $MAN_MIDDLE;
+
+- if (defined(@$also)) {
++ if (@$also) {
+ print MAN "\n.SH SEE ALSO\n\\fI";
+ print MAN join "\\fR, \\fI", @$also;
+ print MAN "\\fR.\nAnd ";
diff --git a/net-libs/ldns/ldns-1.6.17.ebuild b/net-libs/ldns/ldns-1.6.17.ebuild
index 97e28ad..64bbea8 100644
--- a/net-libs/ldns/ldns-1.6.17.ebuild
+++ b/net-libs/ldns/ldns-1.6.17.ebuild
@@ -42,6 +42,10 @@ pkg_setup() {
use python && python-single-r1_pkg_setup
}
+src_prepare() {
+ epatch "${FILESDIR}/${P}_perl522.patch"
+}
+
multilib_src_configure() {
ECONF_SOURCE=${S} \
econf \