GNU Wget fails to compile using Perl 5.18, leading to errors such as: wget.pod around line xxxx: Expected text after =item, not a number
This patch fixes this issue, allowing compilation with Perl 5.18. Signed-off-by: Jonathan McCrohan <jmccro...@gmail.com> --- net/wget/patches/001-wget_perl_5_18_fix.patch | 81 +++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 net/wget/patches/001-wget_perl_5_18_fix.patch diff --git a/net/wget/patches/001-wget_perl_5_18_fix.patch b/net/wget/patches/001-wget_perl_5_18_fix.patch new file mode 100644 index 0000000..042b519 --- /dev/null +++ b/net/wget/patches/001-wget_perl_5_18_fix.patch @@ -0,0 +1,81 @@ +--- a/doc/wget.texi ++++ b/doc/wget.texi +@@ -876,7 +876,7 @@ recommendation to block many unrelated u + actions of one. + + @cindex proxy +-@itemx --no-proxy ++@item --no-proxy + Don't use proxies, even if the appropriate @code{*_proxy} environment + variable is defined. + +@@ -977,7 +977,7 @@ are outside the range of @sc{ascii} char + whose encoding does not match the one used locally. + + @cindex IPv6 +-@itemx -4 ++@item -4 + @itemx --inet4-only + @itemx -6 + @itemx --inet6-only +@@ -2106,32 +2106,32 @@ Wget may return one of several error cod + + + @table @asis +-@item 0 ++@item .0 + No problems occurred. + +-@item 1 ++@item .1 + Generic error code. + +-@item 2 +-Parse error---for instance, when parsing command-line options, the ++@item .2 ++Parse error - for instance, when parsing command-line options, the + @samp{.wgetrc} or @samp{.netrc}... + +-@item 3 ++@item .3 + File I/O error. + +-@item 4 ++@item .4 + Network failure. + +-@item 5 ++@item .5 + SSL verification failure. + +-@item 6 ++@item .6 + Username/password authentication failure. + +-@item 7 ++@item .7 + Protocol errors. + +-@item 8 ++@item .8 + Server issued an error response. + @end table + +@@ -3094,7 +3094,7 @@ display properly---the same as @samp{-p} + Change setting of passive @sc{ftp}, equivalent to the + @samp{--passive-ftp} option. + +-@itemx password = @var{string} ++@item password = @var{string} + Specify password @var{string} for both @sc{ftp} and @sc{http} file retrieval. + This command can be overridden using the @samp{ftp_password} and + @samp{http_password} command for @sc{ftp} and @sc{http} respectively. +@@ -3605,7 +3605,7 @@ In addition to the environment variables + may be specified from within Wget itself. + + @table @samp +-@itemx --no-proxy ++@item --no-proxy + @itemx proxy = on/off + This option and the corresponding command may be used to suppress the + use of proxy, even if the appropriate environment variables are set. -- 1.8.4.rc3 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel