From 304bab8af90767a98c93e0aa8454581b6b947b7b Mon Sep 17 00:00:00 2001 From: Tomas Hozza Date: Jun 24 2013 09:05:42 +0000 Subject: fix errors in texi2pod introduced in Perl-5.18 Signed-off-by: Tomas Hozza --- diff --git a/wget-1.14-texi2pod_error_perl518.patch b/wget-1.14-texi2pod_error_perl518.patch new file mode 100644 index 0000000..13427a0 --- /dev/null +++ b/wget-1.14-texi2pod_error_perl518.patch @@ -0,0 +1,25 @@ +From 7f43748544f26008d0dd337704f02a6ed3200aaf Mon Sep 17 00:00:00 2001 +From: Dave Reisner +Date: Mon, 17 Jun 2013 23:31:46 +0530 +Subject: [PATCH] Fix error in texi2pod intriduced with Perl 5.18 + +--- + doc/texi2pod.pl | 2 +- + 1 files changed, 1 insertions(+), 1 deletion(-) + +diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl +index 86c4b18..9db6de1 100755 +--- a/doc/texi2pod.pl ++++ b/doc/texi2pod.pl +@@ -291,7 +291,7 @@ while(<$inf>) { + if (defined $1) { + my $thing = $1; + if ($ic =~ /\@asis/) { +- $_ = "\n=item $thing\n"; ++ $_ = "\n=item C<$thing>\n"; + } else { + # Entity escapes prevent munging by the <> processing below. + $_ = "\n=item $ic\<$thing\>\n"; +-- +1.8.1.4 + diff --git a/wget.spec b/wget.spec index 7e773ad..94f8574 100644 --- a/wget.spec +++ b/wget.spec @@ -12,6 +12,7 @@ Patch2: wget-1.12-path.patch Patch3: wget-1.14-sslreadtimeout.patch Patch4: wget-1.14-manpage-tex5.patch Patch5: wget-1.14-add_missing_options_doc.patch +Patch6: wget-1.14-texi2pod_error_perl518.patch Provides: webclient Provides: bundled(gnulib) @@ -36,6 +37,7 @@ support for Proxy servers, and configurability. %patch3 -p1 -b .sslreadtimeout %patch4 -p1 %patch5 -p1 +%patch6 -p1 %build if pkg-config openssl ; then @@ -74,6 +76,7 @@ rm -rf $RPM_BUILD_ROOT %changelog * Mon Jun 24 2013 Tomas Hozza - 1.14-6 - add missing options accept-regex and reject-regex to man page +- fix errors in texi2pod introduced in Perl-5.18 * Fri Feb 22 2013 Tomas Hozza - 1.14-5 - Added BuildRequires: perl-podlators for pod2man