Ticket #41953: wget-texinfo5.patch

File wget-texinfo5.patch, 3.0 KB (added by larryv (Lawrence Velázquez), 10 years ago)

Patch to accommodate Texinfo 5

  • trunk/dports/net/wget/Portfile

    diff --git a/trunk/dports/net/wget/Portfile b/trunk/dports/net/wget/Portfile
    a b  
    7777default_variants        +ssl
    7878
    7979patchfiles \
    80     patch-prefix.diff
     80    patch-prefix.diff \
     81    0001-docs-fix-errors-and-warnings-with-Texinfo-5.patch
    8182
    8283post-patch {
    8384    reinplace "s|@PREFIX@|${prefix}|g" \
  • new file trunk/dports/net/wget/files/0001-docs-fix-errors-and-warnings-with-Texinfo-5.patch

    diff --git a/trunk/dports/net/wget/files/0001-docs-fix-errors-and-warnings-with-Texinfo-5.patch b/trunk/dports/net/wget/files/0001-docs-fix-errors-and-warnings-with-Texinfo-5.patch
    new file mode 10644
    - +  
     1From 9e8d899a356d95be34737488bb8fd59d4c6b3dbd Mon Sep 17 00:00:00 2001
     2From: Stefano Lattarini <stefano.lattarini@gmail.com>
     3Date: Thu, 8 Nov 2012 12:15:41 +0100
     4Subject: [PATCH] docs: fix errors and warnings with Texinfo 5
     5
     6Or rather, with the development version 4.13.90, which will eventually
     7become Texinfo 5.0.
     8
     9* doc/wget.texi: Use '@item' instead of '@itemx' in several places,
     10as Texinfo 5 refuses to process an '@itemx' that is not preceded by an
     11'@item'.
     12
     13Copyright-paperwork-exempt: yes
     14Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
     15---
     16 doc/wget.texi | 8 ++++----
     17 1 file changed, 4 insertions(+), 4 deletions(-)
     18
     19diff --git doc/wget.texi doc/wget.texi
     20index 400debe..8fd6801 100644
     21--- doc/wget.texi
     22+++ doc/wget.texi
     23@@ -875,7 +875,7 @@ recommendation to block many unrelated users from a web site due to the
     24 actions of one.
     25 
     26 @cindex proxy
     27-@itemx --no-proxy
     28+@item --no-proxy
     29 Don't use proxies, even if the appropriate @code{*_proxy} environment
     30 variable is defined.
     31 
     32@@ -976,7 +976,7 @@ are outside the range of @sc{ascii} characters (that is, greater than
     33 whose encoding does not match the one used locally.
     34 
     35 @cindex IPv6
     36-@itemx -4
     37+@item -4
     38 @itemx --inet4-only
     39 @itemx -6
     40 @itemx --inet6-only
     41@@ -3093,7 +3093,7 @@ display properly---the same as @samp{-p}.
     42 Change setting of passive @sc{ftp}, equivalent to the
     43 @samp{--passive-ftp} option.
     44 
     45-@itemx password = @var{string}
     46+@item password = @var{string}
     47 Specify password @var{string} for both @sc{ftp} and @sc{http} file retrieval.
     48 This command can be overridden using the @samp{ftp_password} and
     49 @samp{http_password} command for @sc{ftp} and @sc{http} respectively.
     50@@ -3604,7 +3604,7 @@ In addition to the environment variables, proxy location and settings
     51 may be specified from within Wget itself.
     52 
     53 @table @samp
     54-@itemx --no-proxy
     55+@item --no-proxy
     56 @itemx proxy = on/off
     57 This option and the corresponding command may be used to suppress the
     58 use of proxy, even if the appropriate environment variables are set.
     59--
     601.8.5.2
     61