commit 047694f5cc9659b2d22977ec83df5cbb3e5c1a11 Author: Ruediger Landmann <r.landmann@xxxxxxxxxx> Date: Mon Jun 17 11:08:28 2013 +1000 Build for EPEL gettexttomakettext.patch | 14 ++++++++++++++ sources | 1 - 2 files changed, 14 insertions(+), 1 deletions(-) --- diff --git a/gettexttomakettext.patch b/gettexttomakettext.patch new file mode 100644 index 0000000..d6e71e0 --- /dev/null +++ b/gettexttomakettext.patch @@ -0,0 +1,14 @@ +diff -ru Locale-Maketext-Gettext-1.27/lib/Locale/Maketext/Gettext.pm Locale-Maketext-Gettext-1.27-patched/lib/Locale/Maketext/Gettext.pm +--- Locale-Maketext-Gettext-1.27/lib/Locale/Maketext/Gettext.pm 2009-04-28 03:46:23.000000000 +1000 ++++ Locale-Maketext-Gettext-1.27-patched/lib/Locale/Maketext/Gettext.pm 2013-03-08 12:31:37.166997436 +1000 +@@ -354,6 +354,10 @@ + # Translated message + $strt = substr($content, $off, $len); + ++ # Convert gettext params %1 to maketext params [_1] ++ $stro =~ s/\%(\d+)/\[_$1\]/g; ++ $strt =~ s/\%(\d+)/\[_$1\]/g; ++ + # Hash it + $_{$stro} = $strt; + } diff --git a/sources b/sources index 7c6a814..5077cf7 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ 58019c37c8ad1c4526476a7fb98b64c6 Locale-Maketext-Gettext-1.27.tar.gz -bd16fb000fbf042b220d7a990368c0b2 gettexttomakettext.patch -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel