summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Schiffbauer <mschiff@gentoo.org>2015-08-11 20:14:55 +0200
committerMarc Schiffbauer <mschiff@gentoo.org>2015-08-11 20:27:18 +0200
commit84fb75a0c7f17bc41095af08f96446a8b306f683 (patch)
tree7d6a0cb0f98b716e72797990a98d266c310342d5 /net-libs/ldns
parentdev-python/stormpatch: add version 2.0.8 (diff)
downloadgentoo-84fb75a0c7f17bc41095af08f96446a8b306f683.tar.gz
gentoo-84fb75a0c7f17bc41095af08f96446a8b306f683.tar.bz2
gentoo-84fb75a0c7f17bc41095af08f96446a8b306f683.zip
net-libs/ldns: fix build with perl 5.22
Fixes #554982. Thanks to Paolo Pedroni for the patch. Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>
Diffstat (limited to 'net-libs/ldns')
-rw-r--r--net-libs/ldns/files/ldns-1.6.17_perl522.patch11
-rw-r--r--net-libs/ldns/ldns-1.6.17.ebuild4
2 files changed, 15 insertions, 0 deletions
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 \