aboutsummaryrefslogtreecommitdiff
path: root/development/ldns
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-01-30 15:57:47 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-05 07:02:36 +0700
commitc5144dc81c0f4622a594f68e7c05369c0bf3d363 (patch)
treed991bc1d6bcf711ee4b5bcb0a8b32cb51cd25123 /development/ldns
parent373945ed3994a74edd460b49480aa1262ef185c5 (diff)
development/ldns: Patched to build with perl-5.22.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/ldns')
-rw-r--r--development/ldns/ldns.SlackBuild3
-rw-r--r--development/ldns/perl-recent.patch12
2 files changed, 15 insertions, 0 deletions
diff --git a/development/ldns/ldns.SlackBuild b/development/ldns/ldns.SlackBuild
index 98c0819afe92..e97a36ded912 100644
--- a/development/ldns/ldns.SlackBuild
+++ b/development/ldns/ldns.SlackBuild
@@ -81,6 +81,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Fix manpage building with perl-5.22 (thanks to Arch Linux)
+patch -p1 < $CWD/perl-recent.patch
+
CXXFLAGS="$SLKCFLAGS" \
CFLAGS="$SLKCFLAGS" \
./configure \
diff --git a/development/ldns/perl-recent.patch b/development/ldns/perl-recent.patch
new file mode 100644
index 000000000000..ddf711cef5d8
--- /dev/null
+++ b/development/ldns/perl-recent.patch
@@ -0,0 +1,12 @@
+diff -Naur old/doc/doxyparse.pl new/doc/doxyparse.pl
+--- old/doc/doxyparse.pl 2014-01-11 06:04:41.000000000 +0900
++++ new/doc/doxyparse.pl 2015-08-08 22:29:34.216889652 +0900
+@@ -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 ";