From 84fb75a0c7f17bc41095af08f96446a8b306f683 Mon Sep 17 00:00:00 2001 From: Marc Schiffbauer Date: Tue, 11 Aug 2015 20:14:55 +0200 Subject: net-libs/ldns: fix build with perl 5.22 Fixes #554982. Thanks to Paolo Pedroni for the patch. Signed-off-by: Marc Schiffbauer --- 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(+) create mode 100644 net-libs/ldns/files/ldns-1.6.17_perl522.patch (limited to 'net-libs') 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 000000000000..ef9c82c8f6b9 --- /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 97e28ad61c0e..64bbea885ccd 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 \ -- cgit v1.2.3-65-gdbad