From: Konstantin Shalygin Date: Mon, 9 May 2016 12:37:32 +0000 (+0600) Subject: ldns: Avoid perl bug for manpages. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=refs%2Fpull%2F3051%2Fhead;p=feed%2Fpackages.git ldns: Avoid perl bug for manpages. Fix #2663 Signed-off-by: Konstantin Shalygin [refresh patch] Signed-off-by: Etienne CHAMPETIER (cherry picked from commit a4a9038f58c4876d419a173bb17d34c0800fae75) --- diff --git a/libs/ldns/Makefile b/libs/ldns/Makefile index 9a0b4e1f69..8c6b44dc11 100644 --- a/libs/ldns/Makefile +++ b/libs/ldns/Makefile @@ -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 index 0000000000..5e193d9eaa --- /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 ";