summaryrefslogtreecommitdiffstats
path: root/src/wget-1-pod.patch
diff options
context:
space:
mode:
authorTom Molesworth <tom@entitymodel.com>2013-06-02 21:58:11 (GMT)
committerTom Molesworth <tom@entitymodel.com>2013-06-02 21:58:11 (GMT)
commit934b42495e3bf2cec930bfb5f06d0bfba58d3ba0 (patch)
tree32e724159e7fb64241c74b09eaf37f91d5f017f3 /src/wget-1-pod.patch
parentb2892f101216c724602b332fbd28b1948f843ff4 (diff)
downloadmxe-934b42495e3bf2cec930bfb5f06d0bfba58d3ba0.zip
mxe-934b42495e3bf2cec930bfb5f06d0bfba58d3ba0.tar.gz
mxe-934b42495e3bf2cec930bfb5f06d0bfba58d3ba0.tar.bz2
Patch texi2pod.pl for perl-5.14+
As described in #200. Similar to #198, this time just needed to add * bullets to the =item lines to avoid pod errors for the wget exit codes.
Diffstat (limited to 'src/wget-1-pod.patch')
-rw-r--r--src/wget-1-pod.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/wget-1-pod.patch b/src/wget-1-pod.patch
new file mode 100644
index 0000000..36922da
--- /dev/null
+++ b/src/wget-1-pod.patch
@@ -0,0 +1,19 @@
+This file is part of MXE.
+See index.html for further information.
+
+diff -urN a/doc/texi2pod.pl b/doc/texi2pod.pl
+--- a/doc/texi2pod.pl 2012-06-09 11:37:53.000000000 +0100
++++ b/doc/texi2pod.pl 2013-06-02 22:36:16.641048831 +0100
+@@ -291,10 +291,10 @@
+ if (defined $1) {
+ my $thing = $1;
+ if ($ic =~ /\@asis/) {
+- $_ = "\n=item $thing\n";
++ $_ = "\n=item * $thing\n";
+ } else {
+ # Entity escapes prevent munging by the <> processing below.
+- $_ = "\n=item $ic\&LT;$thing\&GT;\n";
++ $_ = "\n=item * $ic\&LT;$thing\&GT;\n";
+ }
+ } else {
+ $_ = "\n=item $ic\n";