[liblexical-underscore-perl] 11/12: Add patch 1001 to avoid lexical underscore. Closes: Bug#825524. Thanks to Niko Tyni.

Jonas Smedegaard dr at jones.dk
Wed Sep 14 17:59:57 UTC 2016


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

js pushed a commit to branch master
in repository liblexical-underscore-perl.

commit 38298f6d4b6dd21c6ca1c6502664b7c86de1f1c9
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Wed Sep 14 19:51:59 2016 +0200

    Add patch 1001 to avoid lexical underscore. Closes: Bug#825524. Thanks to Niko Tyni.
---
 debian/patches/1001_avoid_lexical_underscore.patch | 29 ++++++++++++++++++++++
 debian/patches/README                              |  3 +++
 debian/patches/series                              |  1 +
 3 files changed, 33 insertions(+)

diff --git a/debian/patches/1001_avoid_lexical_underscore.patch b/debian/patches/1001_avoid_lexical_underscore.patch
new file mode 100644
index 0000000..e06c544
--- /dev/null
+++ b/debian/patches/1001_avoid_lexical_underscore.patch
@@ -0,0 +1,29 @@
+Description: perl 5.23.4 and later do not have lexical underscore anymore
+Origin: vendor, http://cpan.cpantesters.org/authors/id/S/SR/SREZIC/patches/lexical-underscore-0.003-RT108203.patch
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=108203
+Bug-Debian: http://bugs.debian.org/825524
+Author: Slaven Rezic <slaven at rezic.de>
+Last-Update: 2016-09-14
+
+--- a/lib/lexical/underscore.pm
++++ b/lib/lexical/underscore.pm
+@@ -9,7 +9,7 @@
+ 	$lexical::underscore::VERSION   = '0.003';
+ }
+ 
+-use if $] >= 5.009, PadWalker => qw( peek_my );
++use if $] >= 5.009 && $] < 5.023004, PadWalker => qw( peek_my );
+ BEGIN {
+ 	*peek_my = sub { +{} } unless __PACKAGE__->can('peek_my');
+ }
+--- a/t/01basic.t
++++ b/t/01basic.t
+@@ -2,7 +2,7 @@
+ 
+ use Test::More;
+ BEGIN {
+-	$] >= 5.010 or plan skip_all => "test requires Perl 5.010";
++	($] >= 5.010 and $] < 5.023004) or plan skip_all => "test requires Perl 5.10.0 .. 5.23.3";
+ 	plan tests => 6;
+ };
+ 
diff --git a/debian/patches/README b/debian/patches/README
new file mode 100644
index 0000000..80c1584
--- /dev/null
+++ b/debian/patches/README
@@ -0,0 +1,3 @@
+0xxx: Grabbed from upstream development.
+1xxx: Possibly relevant for upstream adoption.
+2xxx: Only relevant for official Debian release.
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..de747e5
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+1001_avoid_lexical_underscore.patch

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



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