diff options
-rw-r--r-- | development/ldns/ldns.SlackBuild | 3 | ||||
-rw-r--r-- | development/ldns/perl-recent.patch | 12 |
2 files changed, 15 insertions, 0 deletions
diff --git a/development/ldns/ldns.SlackBuild b/development/ldns/ldns.SlackBuild index 98c0819afe..e97a36ded9 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 0000000000..ddf711cef5 --- /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 "; |