ldns: Avoid perl bug for manpages. 3051/head
authorKonstantin Shalygin <k0ste@cn.ru>
Mon, 9 May 2016 12:37:32 +0000 (18:37 +0600)
committerBernhard Schmidt <berni@birkenwald.de>
Fri, 12 Aug 2016 21:50:45 +0000 (23:50 +0200)
Fix #2663

Signed-off-by: Konstantin Shalygin <k0ste@cn.ru>
[refresh patch]
Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
(cherry picked from commit a4a9038f58c4876d419a173bb17d34c0800fae75)

libs/ldns/Makefile
libs/ldns/patches/001-perl5-defined-array.patch [new file with mode: 0644]

index 9a0b4e1f697d403e7b3333fe95e76a65714f05af..8c6b44dc111e65ca6bdcc35b403c659097655f46 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=ldns
 PKG_VERSION:=1.6.17
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.nlnetlabs.nl/downloads/ldns
diff --git a/libs/ldns/patches/001-perl5-defined-array.patch b/libs/ldns/patches/001-perl5-defined-array.patch
new file mode 100644 (file)
index 0000000..5e193d9
--- /dev/null
@@ -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 ";