aboutsummaryrefslogtreecommitdiff
path: root/libs/ldns/patches/001-perl5-defined-array.patch
diff options
context:
space:
mode:
authorKonstantin Shalygin <k0ste@cn.ru>2016-05-09 18:37:32 +0600
committerEtienne CHAMPETIER <champetier.etienne@gmail.com>2016-07-03 14:19:59 +0000
commita4a9038f58c4876d419a173bb17d34c0800fae75 (patch)
treeeb426f5f39ef8b78a9b2b3ce15c3681861d808a0 /libs/ldns/patches/001-perl5-defined-array.patch
parentd749882a68c5b98dd133ce114217a4ae14cd8c3e (diff)
ldns: Avoid perl bug for manpages.
Fix #2663 Signed-off-by: Konstantin Shalygin <k0ste@cn.ru> [refresh patch] Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
Diffstat (limited to 'libs/ldns/patches/001-perl5-defined-array.patch')
-rw-r--r--libs/ldns/patches/001-perl5-defined-array.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/libs/ldns/patches/001-perl5-defined-array.patch b/libs/ldns/patches/001-perl5-defined-array.patch
new file mode 100644
index 000000000..5e193d9ea
--- /dev/null
+++ b/libs/ldns/patches/001-perl5-defined-array.patch
@@ -0,0 +1,11 @@
+--- a/doc/doxyparse.pl
++++ b/doc/doxyparse.pl
+@@ -273,7 +273,7 @@ foreach (keys %manpages) {
+
+ 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 ";