diff --git a/wget-fix-pod-syntax.diff b/wget-fix-pod-syntax.diff new file mode 100644 index 0000000..ee37a61 --- /dev/null +++ b/wget-fix-pod-syntax.diff @@ -0,0 +1,17 @@ +Index: wget-1.14/doc/texi2pod.pl +=================================================================== +--- wget-1.14.orig/doc/texi2pod.pl ++++ wget-1.14/doc/texi2pod.pl +@@ -291,10 +291,10 @@ while(<$inf>) { + if (defined $1) { + my $thing = $1; + if ($ic =~ /\@asis/) { +- $_ = "\n=item $thing\n"; ++ $_ = "\n=item Z<>$thing\n"; + } else { + # Entity escapes prevent munging by the <> processing below. +- $_ = "\n=item $ic\<$thing\>\n"; ++ $_ = "\n=item Z<>$ic\<$thing\>\n"; + } + } else { + $_ = "\n=item $ic\n"; diff --git a/wget.changes b/wget.changes index 3299c99..b8906fb 100644 --- a/wget.changes +++ b/wget.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 20 13:29:01 UTC 2013 - coolo@suse.com + +- add wget-fix-pod-syntax.diff to fix build with perl 5.18 + ------------------------------------------------------------------- Thu May 2 17:50:50 UTC 2013 - p.drouand@gmail.com diff --git a/wget.spec b/wget.spec index 217ed87..b2e1b2f 100644 --- a/wget.spec +++ b/wget.spec @@ -29,6 +29,8 @@ Patch0: wgetrc.patch Patch1: wget-libproxy.patch Patch5: wget-1.14-openssl-no-intern.patch Patch6: wget-1.14-no-ssl-comp.patch +# PATCH-FIX-OPENSUSE fix pod syntax for perl 5.18 coolo@suse.de +Patch7: wget-fix-pod-syntax.diff BuildRequires: libpng-devel %if 0%{suse_version} > 1110 BuildRequires: libproxy-devel @@ -54,6 +56,7 @@ This can be done in script files or via the command line. %endif %patch5 %patch6 +%patch7 -p1 %build %if 0%{suse_version} > 1110