[SCM] Debian packaging of libbit-vector-perl branch, master, updated. debian/7.2-1-10-g3235f42

gregor herrmann gregoa at debian.org
Sun May 12 15:48:40 UTC 2013


The following commit has been merged in the master branch:
commit 53ac0ec8d2df4d802daac709f4cae5fa6472021d
Author: gregor herrmann <gregoa at debian.org>
Date:   Sun May 12 17:36:59 2013 +0200

    Add patch Bit-Vector-destroy.patch from CPAN RT.
    
    Fixes test failure with perl >= 5.17.
    
    Closes: #708003

diff --git a/debian/patches/Bit-Vector-destroy.patch b/debian/patches/Bit-Vector-destroy.patch
new file mode 100644
index 0000000..309b1a1
--- /dev/null
+++ b/debian/patches/Bit-Vector-destroy.patch
@@ -0,0 +1,32 @@
+Origin: https://rt.cpan.org/Public/Bug/Display.html?id=84250
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=84250
+Bug-Debian: http://bugs.debian.org/708003
+Forwarded: not-needed
+
+From 0646f34fc3eeb47627822df860986cf7bee4ebed Mon Sep 17 00:00:00 2001
+From: Gisle Aas <gisle at activestate.com>
+Date: Thu, 28 Mar 2013 00:41:07 -0700
+Subject: [PATCH] eval { 1->method } triggers different error in 5.17.11
+
+---
+ t/02_____destroy.t |    4 +++-
+ 1 files changed, 3 insertions(+), 1 deletions(-)
+
+diff --git a/t/02_____destroy.t b/t/02_____destroy.t
+index 41e3aa3..adcf995 100644
+--- a/t/02_____destroy.t
++++ b/t/02_____destroy.t
+@@ -17,7 +17,9 @@ if (ref($set) eq '')
+ {print "ok $n\n";} else {print "not ok $n\n";}
+ $n++;
+ eval { $set->DESTROY(); };
+-if ($@ =~ /Can't call method "DESTROY" without a package or object reference/)
++if ($@ =~ /Can't call method "DESTROY" without a package or object reference/ ||
++    $@ =~ /Can't locate object method "DESTROY" via package "1"/
++)
+ {print "ok $n\n";} else {print "not ok $n\n";}
+ $n++;
+ eval { Bit::Vector::DESTROY($set); };
+-- 
+1.7.0.5
+
diff --git a/debian/patches/series b/debian/patches/series
index f7c4b35..72adb76 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 spelling-error-in-manpage.patch
+Bit-Vector-destroy.patch

-- 
Debian packaging of libbit-vector-perl



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