[libxml-sax-expatxs-perl] 01/05: Add patch to make builds reproducible.

gregor herrmann gregoa at debian.org
Sat May 2 20:07:39 UTC 2015


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

gregoa pushed a commit to branch master
in repository libxml-sax-expatxs-perl.

commit 9ea2a92e56c633c41308c7d1384035534d709646
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat May 2 22:03:14 2015 +0200

    Add patch to make builds reproducible.
    
    Thanks: Chris Lamb for the bug report and patch.
    Closes: #778978
---
 debian/patches/reproducible_build | 21 +++++++++++++++++++++
 debian/patches/series             |  1 +
 2 files changed, 22 insertions(+)

diff --git a/debian/patches/reproducible_build b/debian/patches/reproducible_build
new file mode 100644
index 0000000..2a31110
--- /dev/null
+++ b/debian/patches/reproducible_build
@@ -0,0 +1,21 @@
+Description: make builds reproducible by sorting hash keys
+ cf. https://reproducible.debian.net/dbd/unstable/amd64/libxml-sax-expatxs-perl_1.33-1.debbindiff.html
+Origin: vendor
+Bug-Debian: https://bugs.debian.org/778978
+Author: Chris Lamb <lamby at debian.org>
+Reviewed-by: gregor herrmann <gregoa at debian.org>
+Last-Update: 2015-05-02
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=104162
+Bug: https://rt.cpan.org/Ticket/Display.html?id=104162
+
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -152,7 +152,7 @@
+ 		      comment       => [qw(DocumentHandler LexicalHandler Handler)],
+                      );
+ 
+-    for my $ev (keys %EVENT_SPEC) {
++    for my $ev (sort keys %EVENT_SPEC) {
+         $code .= <<"        EOTOPCODE";
+ sub get_$ev {
+     my \$self = shift;
diff --git a/debian/patches/series b/debian/patches/series
index 27163ea..3947d86 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 dont-install-sax
 remove-generated-file-in-realclean
+reproducible_build

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libxml-sax-expatxs-perl.git



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