[libeval-context-perl] 03/03: add hash-randomization.patch fixing build failure with perl 5.18
Damyan Ivanov
dmn at alioth.debian.org
Tue Aug 13 13:17:21 UTC 2013
This is an automated email from the git hooks/post-receive script.
dmn pushed a commit to branch master
in repository libeval-context-perl.
commit 7980313249b88f2a22425d23a79e4e3d70b53d82
Author: Damyan Ivanov <dmn at debian.org>
Date: Tue Aug 13 15:17:09 2013 +0200
add hash-randomization.patch fixing build failure with perl 5.18
Closes: 711442
---
debian/changelog | 2 ++
debian/patches/hash-randomization.patch | 22 ++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 25 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index fe3a716..4738d50 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,8 @@ libeval-context-perl (0.09.11-2) UNRELEASED; urgency=low
svn.debian.org to anonscm.debian.org URL.
* migrate Vcs-* headers
* Standards-Version: 3.9.4 (no changes needed)
+ * add hash-randomization.patch fixing build failure with perl 5.18
+ Closes: 711442
-- Damyan Ivanov <dmn at debian.org> Tue, 13 Aug 2013 14:23:55 +0200
diff --git a/debian/patches/hash-randomization.patch b/debian/patches/hash-randomization.patch
new file mode 100644
index 0000000..6b21751
--- /dev/null
+++ b/debian/patches/hash-randomization.patch
@@ -0,0 +1,22 @@
+Description: sort expected and retrieved variables
+ due the hash randomization in perl 5.17.* the order varies
+Origin: vendor
+Bug: https://rt.cpan.org/Dist/Display.html?Name=Eval-Context
+Forwarded: https://rt.cpan.org/Dist/Display.html?Name=Eval-Context
+Bug-Debian: http://bugs.debian.org/711442
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2013-06-09
+
+--- a/t/009_persistent_variables.t
++++ b/t/009_persistent_variables.t
+@@ -125,8 +125,8 @@
+ die $@ if $@ ;
+ }
+
+-my @persistent_variable_names = $context->GetPersistentVariableNames() ;
+-is_deeply(\@persistent_variable_names , [qw($object $array $variable %hash $hash $scalar @array)], 'persistent variable names') or diag DumpTree(\@persistent_variable_names ) ;
++my @persistent_variable_names = sort $context->GetPersistentVariableNames() ;
++is_deeply(\@persistent_variable_names , [sort qw($object $array $variable %hash $hash $scalar @array)], 'persistent variable names') or diag DumpTree(\@persistent_variable_names ) ;
+
+ throws_ok
+ {
diff --git a/debian/patches/series b/debian/patches/series
index 4a48064..1b68af8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
00-drop_useless_dependencies.patch
+hash-randomization.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libeval-context-perl.git
More information about the Pkg-perl-cvs-commits
mailing list