[libwx-perl] 01/02: Add patch encoding-pragma.patch

gregor herrmann gregoa at debian.org
Sat May 20 11:52:40 UTC 2017


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

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

commit c0efd366eca241a3d4bdd27c326a5a7b63371a2a
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat May 20 13:46:17 2017 +0200

    Add patch encoding-pragma.patch
    
    to disable "use encoding" which is a fatal error since Perl 5.25.x.
    
    Closes: #826452
---
 debian/patches/encoding-pragma.patch | 20 ++++++++++++++++++++
 debian/patches/series                |  1 +
 2 files changed, 21 insertions(+)

diff --git a/debian/patches/encoding-pragma.patch b/debian/patches/encoding-pragma.patch
new file mode 100644
index 0000000..47e0082
--- /dev/null
+++ b/debian/patches/encoding-pragma.patch
@@ -0,0 +1,20 @@
+Description: comment out "use encoding"
+ which is fatal in perl 5.25.x
+Origin: vendor
+Bug: https://rt.cpan.org/Ticket/Display.html?id=115097
+Bug-Debian: https://bugs.debian.org/826452
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2017-05-20
+Applied-Upstream: r3548, 0.9929
+
+--- a/t/18_unicode.t
++++ b/t/18_unicode.t
+@@ -5,7 +5,7 @@
+ use lib './t';
+ use Tests_Helper qw(in_frame);
+ use Test::More 'tests' => 12;
+-use encoding qw(iso-8859-1);
++#use encoding qw(iso-8859-1);
+ use Encode qw(is_utf8);
+ 
+ my $ascii   = 'Abcde';
diff --git a/debian/patches/series b/debian/patches/series
index 624a1bb..cc7918a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -6,3 +6,4 @@ spelling.patch
 0001-Fix-Wx-_load_plugin-segfaulting-when-wxPluginManager.patch
 reproducible_output.patch
 unescaped_left_brace.patch
+encoding-pragma.patch

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



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