[libmouse-perl] 01/04: reproducible_build.patch: added. Thanks to Reiner Herrmann <reiner at reiner-h.de> for the patch! (Closes: #808667).

Intrigeri intrigeri at moszumanska.debian.org
Tue Jul 5 10:01:27 UTC 2016


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

intrigeri pushed a commit to branch master
in repository libmouse-perl.

commit eecd373616ce5b7f35276be8d15957f8871ac952
Author: intrigeri <intrigeri at boum.org>
Date:   Tue Jul 5 09:44:01 2016 +0000

    reproducible_build.patch: added. Thanks to Reiner Herrmann <reiner at reiner-h.de> for the patch! (Closes: #808667).
---
 debian/patches/reproducible_build.patch | 14 ++++++++++++++
 debian/patches/series                   |  1 +
 2 files changed, 15 insertions(+)

diff --git a/debian/patches/reproducible_build.patch b/debian/patches/reproducible_build.patch
new file mode 100644
index 0000000..2be711f
--- /dev/null
+++ b/debian/patches/reproducible_build.patch
@@ -0,0 +1,14 @@
+From: Reiner Herrmann <reiner at reiner-h.de>
+Description: Make the build reproducible: without this the file list is embedded in readdir order, which is not deterministic.
+
+--- a/tool/generate-mouse-tiny.pl
++++ b/tool/generate-mouse-tiny.pl
+@@ -78,7 +78,7 @@
+ # tell Perl we already have all of the Mouse files loaded:
+ EOF
+ 
+-for my $file (@files) {
++for my $file (sort @files) {
+     (my $inc = $file) =~ s{^lib/}{};
+     printf { $handle } "%-45s = __FILE__;\n", "\$INC{'$inc'}";
+ }
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..b2026fe
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+reproducible_build.patch

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



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