[liblocales-perl] 04/06: Drop fix_deprecation_warning_under_perl_5.22.patch

gregor herrmann gregoa at debian.org
Sat Jan 23 00:23:49 UTC 2016


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository liblocales-perl.

commit bba193df6073ccd2520e6a67b9f8f537fbb4b9b5
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Jan 23 01:16:15 2016 +0100

    Drop fix_deprecation_warning_under_perl_5.22.patch
    
    which was taken from upstream Git.
---
 .../fix_deprecation_warning_under_perl_5.22.patch      | 18 ------------------
 debian/patches/series                                  |  1 -
 2 files changed, 19 deletions(-)

diff --git a/debian/patches/fix_deprecation_warning_under_perl_5.22.patch b/debian/patches/fix_deprecation_warning_under_perl_5.22.patch
deleted file mode 100644
index 22023b7..0000000
--- a/debian/patches/fix_deprecation_warning_under_perl_5.22.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-From 0a117fa210c30ecee5f0f5768c194a92e29b01a3 Mon Sep 17 00:00:00 2001
-From: Rufus Cable <rufus at threebytesfull.com>
-Date: Thu, 30 Jul 2015 15:41:13 +0100
-Subject: [PATCH] Fix deprecation warning under Perl 5.22
-Bug-Debian: https://bugs.debian.org/809099
-
-
---- a/lib/Locales.pm
-+++ b/lib/Locales.pm
-@@ -1013,7 +1013,7 @@
- sub plural_rule_string_to_javascript_code {
-     my ( $plural_rule_string, $return ) = @_;
-     my $perl = plural_rule_string_to_code( $plural_rule_string, $return );
--    $perl =~ s/sub { /function (n) {/;
-+    $perl =~ s/sub \{ /function (n) {/;
-     $perl =~ s/\$_\[0\]/n/g;
-     $perl =~ s/ \(n \% ([0-9]+)\) \+ \(n-int\(n\)\) /n % $1/g;
-     $perl =~ s/int\(/parseInt\(/g;
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 38a423b..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-fix_deprecation_warning_under_perl_5.22.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/liblocales-perl.git



More information about the Pkg-perl-cvs-commits mailing list