[libclass-methodmaker-perl] 08/09: Add patch to make build reproducible.

gregor herrmann gregoa at debian.org
Sat May 2 20:23:29 UTC 2015


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

gregoa pushed a commit to branch master
in repository libclass-methodmaker-perl.

commit 274141d9dd14e8706bddee7f62a956616b062e00
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat May 2 22:21:18 2015 +0200

    Add patch to make build reproducible.
    
    Thanks: Chris Lamb for the bug report and patch.
    Closes: #778979
---
 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..29a71ba
--- /dev/null
+++ b/debian/patches/reproducible_build
@@ -0,0 +1,21 @@
+Description: make build reproducible by sorting hash keys
+ cf. https://reproducible.debian.net/dbd/unstable/amd64/libclass-methodmaker-perl_2.21-1.debbindiff.html
+Origin: vendor
+Bug-Debian: https://bugs.debian.org/778979
+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=104163
+Bug: https://rt.cpan.org/Ticket/Display.html?id=104163
+
+--- a/lib/Class/MethodMaker/OptExt.pm
++++ b/lib/Class/MethodMaker/OptExt.pm
+@@ -357,7 +357,7 @@
+ 
+ # -------------------------------------
+ 
+-sub option_names { grep $_ ne 'DEFAULT', keys %{OPTEXT()} }
++sub option_names { grep $_ ne 'DEFAULT', sort keys %{OPTEXT()} }
+ 
+ sub optcode {
+   my $class = shift;
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..aaab448
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+reproducible_build

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



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