[SCM] Debian packaging of libtest-log4perl-perl branch, master, updated. 1d5deee56b936e6a43fde9192b5330000ec84a65

gregor herrmann gregoa at debian.org
Wed Nov 16 18:10:41 UTC 2011


The following commit has been merged in the master branch:
commit 551605bc446785a8d931f4f12f8661f2a19c7def
Author: gregor herrmann <gregoa at debian.org>
Date:   Wed Nov 16 19:00:00 2011 +0100

    New patch perl5.14-re.patch: handle different forms of regexp stringification.
    
    Closes: #636521

diff --git a/debian/patches/perl5.14-re.patch b/debian/patches/perl5.14-re.patch
new file mode 100644
index 0000000..db2f52a
--- /dev/null
+++ b/debian/patches/perl5.14-re.patch
@@ -0,0 +1,27 @@
+Description: regexp stringification is different
+Origin: vendor
+Bug: https://rt.cpan.org/Ticket/Display.html?id=70002
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=70002
+Bug-Debian: http://bugs.debian.org/636521
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2011-11-16
+
+--- a/t/04re.t
++++ b/t/04re.t
+@@ -27,11 +27,15 @@
+ 
+ ########################################################
+ 
++# perldelta 5.14
++# Accept both old and new-style stringification
++my $modifiers = (qr/foobar/ =~ /\Q(?^/) ? "^" : "-xism";
++
+ test_out("not ok 1 - Log4perl test");
+ test_fail(+9);
+ test_diag("1st message logged wasn't what we expected:");
+ test_diag("  message was 'my hair is on fire!'");
+-test_diag("     not like '(?-xism:tree)'");
++test_diag("     not like '(?$modifiers:tree)'");
+ test_diag(" (Offending log call from line ".(__LINE__+4)." in ".filename().")");
+ 
+ Test::Log4perl->start();
diff --git a/debian/patches/series b/debian/patches/series
index 2ea83a6..7927689 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 fix-test-init.patch
+perl5.14-re.patch

-- 
Debian packaging of libtest-log4perl-perl



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