[SCM] Debian packaging of libjson-xs-perl branch, master, updated. debian/2.330-2-6-g267e0ad
gregor herrmann
gregoa at debian.org
Fri Jun 28 13:45:19 UTC 2013
The following commit has been merged in the master branch:
commit 09feccebb890025f679e54c2fce0b4815ae02405
Author: gregor herrmann <gregoa at debian.org>
Date: Fri Jun 28 15:39:49 2013 +0200
Drop hash_perl_5.17.10.patch, not needed anymore.
Upstream solved the problem with the test suite differently.
diff --git a/debian/patches/hash_perl_5.17.10.patch b/debian/patches/hash_perl_5.17.10.patch
deleted file mode 100644
index f5c2c7a..0000000
--- a/debian/patches/hash_perl_5.17.10.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-Description: Fix test failure with perl >= 5.17.0
- The problem looks to me like it is due to the fact that under 5.17.10 hash
- iteration is randomized on a per-hash basis (per perl51710delta). The
- failing tests appear to be round-trip tests that assume identical hashes
- serialize identically. The attached patch fixes the failures (for me) by
- calling ->canonical() on the JSON::XS objects involved.
-Origin: https://rt.cpan.org/Ticket/Display.html?id=84151
-Bug: https://rt.cpan.org/Ticket/Display.html?id=84151
-Bug-Debian: http://bugs.debian.org/708021
-Forwarded: not-needed
-Author: wyant at cpan.org
-Reviewed-by: gregor herrmann <gregoa at debian.org>
-Last-Update: 2013-05-13
-
---- a/t/19_incr.t
-+++ b/t/19_incr.t
-@@ -24,10 +24,10 @@
- }
- }
-
--splitter +JSON::XS->new , ' ["x\\"","\\u1000\\\\n\\nx",1,{"\\\\" :5 , "": "x"}]';
--splitter +JSON::XS->new , '[ "x\\"","\\u1000\\\\n\\nx" , 1,{"\\\\ " :5 , "": " x"} ] ';
--splitter +JSON::XS->new->allow_nonref, '"test"';
--splitter +JSON::XS->new->allow_nonref, ' "5" ';
-+splitter +JSON::XS->new->canonical , ' ["x\\"","\\u1000\\\\n\\nx",1,{"\\\\" :5 , "": "x"}]';
-+splitter +JSON::XS->new->canonical , '[ "x\\"","\\u1000\\\\n\\nx" , 1,{"\\\\ " :5 , "": " x"} ] ';
-+splitter +JSON::XS->new->allow_nonref->canonical, '"test"';
-+splitter +JSON::XS->new->allow_nonref->canonical, ' "5" ';
-
- {
- my $text = '[5],{"":1} , [ 1,2, 3], {"3":null}';
diff --git a/debian/patches/series b/debian/patches/series
index 3bb49db..f5e2e86 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1 @@
true-false-decode-pod-fix
-hash_perl_5.17.10.patch
--
Debian packaging of libjson-xs-perl
More information about the Pkg-perl-cvs-commits
mailing list