[libperl5i-perl] 01/01: Apply patch from upstream to fix regression with utf8::all 0.013

Axel Beckert abe at deuxchevaux.org
Sun Sep 14 10:24:31 UTC 2014


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

abe pushed a commit to branch master
in repository libperl5i-perl.

commit 6e971903eec6eecdde523441967e4555075fff5a
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Sun Sep 14 12:24:14 2014 +0200

    Apply patch from upstream to fix regression with utf8::all 0.013
    
    Closes: #759969
---
 debian/changelog                         |  4 ++++
 debian/control                           |  2 +-
 debian/patches/fix-utf8-in-argv-handling | 20 ++++++++++++++++++++
 debian/patches/series                    |  1 +
 4 files changed, 26 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index f048bf1..1c0da1f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,6 +16,10 @@ libperl5i-perl (2.13.0-1) UNRELEASED; urgency=medium
   * Add Build-Depends on libtest-most-perl
   * Update Vcs-Browser URL to cgit web frontend
 
+  [ Axel Beckert ]
+  * Apply patch from upstream to fix regression with utf8::all 0.013.
+    (Closes: #759969)
+
  -- Salvatore Bonaccorso <carnil at debian.org>  Wed, 23 Jul 2014 21:47:55 +0200
 
 libperl5i-perl (2.12.0-1) unstable; urgency=low
diff --git a/debian/control b/debian/control
index c684f7f..5ec361f 100644
--- a/debian/control
+++ b/debian/control
@@ -42,7 +42,7 @@ Build-Depends: debhelper (>= 9.20120312),
                libtime-y2038-perl,
                libtrue-perl,
                libtry-tiny-perl,
-               libutf8-all-perl,
+               libutf8-all-perl (>= 0.013),
                libwant-perl,
                libyaml-perl,
                perl (>= 5.15.3),
diff --git a/debian/patches/fix-utf8-in-argv-handling b/debian/patches/fix-utf8-in-argv-handling
new file mode 100644
index 0000000..0ae824c
--- /dev/null
+++ b/debian/patches/fix-utf8-in-argv-handling
@@ -0,0 +1,20 @@
+Description: Fixes regression in argv handling with utf8::all 0.013
+Origin: https://github.com/pghmcfc/perl5i/commit/6422710e0303c02b68f0f3634a34d5b0004a2ab5
+Bug-Debian: https://bugs.debian.org/759969
+
+Index: libperl5i-perl/lib/perl5i/2.pm
+===================================================================
+--- libperl5i-perl.orig/lib/perl5i/2.pm	2014-08-31 01:55:37.507499142 +0200
++++ libperl5i-perl/lib/perl5i/2.pm	2014-09-14 12:16:35.150561236 +0200
+@@ -127,10 +127,7 @@
+     },
+     'utf8::all' => sub {
+         my ($class, $caller) = @_;
+-
+-        # use utf8::all
+-        require utf8::all;
+-        utf8::all::import($class);
++        load_in_caller($caller, ['utf8::all']);
+     },
+     Want => sub {
+         my ($class, $caller) = @_;
diff --git a/debian/patches/series b/debian/patches/series
index 82456cd..661c573 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 fix-test-for-mips
+fix-utf8-in-argv-handling

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



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