[libcatalyst-action-serialize-data-serializer-perl] 01/02: Add patch enabling rv2gv in deserializer's Safe compartment
Damyan Ivanov
dmn at alioth.debian.org
Tue Sep 3 12:52:13 UTC 2013
This is an automated email from the git hooks/post-receive script.
dmn pushed a commit to branch master
in repository libcatalyst-action-serialize-data-serializer-perl.
commit 4c8a1f40486c47af4e4624212a9b5e9f2da666bc
Author: Damyan Ivanov <dmn at debian.org>
Date: Tue Sep 3 15:49:24 2013 +0300
Add patch enabling rv2gv in deserializer's Safe compartment
fixes tests with perl 5.18 (Closes: #719983)
---
debian/patches/Deserializer-enable-rv2gv.patch | 19 +++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 20 insertions(+)
diff --git a/debian/patches/Deserializer-enable-rv2gv.patch b/debian/patches/Deserializer-enable-rv2gv.patch
new file mode 100644
index 0000000..3998d2d
--- /dev/null
+++ b/debian/patches/Deserializer-enable-rv2gv.patch
@@ -0,0 +1,19 @@
+Description: Enable rv2gv in deserializer's Safe compartment
+ without this tests fail with:
+ 'ref-to-glob cast' trapped by operation mask
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=87836
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=719983
+Author: Damyan Ivanov <dmn at debian.org>
+Forwarded: yes
+
+--- a/lib/Catalyst/Action/Deserialize/Data/Serializer.pm
++++ b/lib/Catalyst/Action/Deserialize/Data/Serializer.pm
+@@ -8,7 +8,7 @@ use Data::Serializer;
+ use Safe;
+ use Scalar::Util qw(openhandle);
+ my $compartment = Safe->new;
+-$compartment->permit_only( qw(padany null lineseq const pushmark list anonhash anonlist refgen leaveeval undef) );
++$compartment->permit_only( qw(padany null lineseq const pushmark list anonhash anonlist refgen leaveeval undef rv2gv) );
+
+ our $VERSION = '1.08';
+ $VERSION = eval $VERSION;
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..28e20d7
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+Deserializer-enable-rv2gv.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcatalyst-action-serialize-data-serializer-perl.git
More information about the Pkg-perl-cvs-commits
mailing list