[libalien-wxwidgets-perl] 05/08: Add patch to make builds reproducible.

gregor herrmann gregoa at debian.org
Fri May 1 15:31:25 UTC 2015


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

gregoa pushed a commit to branch master
in repository libalien-wxwidgets-perl.

commit 7fbdc93bbc93307209198aab9393290993b05b5c
Author: gregor herrmann <gregoa at debian.org>
Date:   Fri May 1 17:23:40 2015 +0200

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

diff --git a/debian/patches/reproducible_build.patch b/debian/patches/reproducible_build.patch
new file mode 100644
index 0000000..0d134b4
--- /dev/null
+++ b/debian/patches/reproducible_build.patch
@@ -0,0 +1,22 @@
+Description: make builds reproducible
+ cf. https://reproducible.debian.net/dbd/unstable/amd64/libalien-wxwidgets-perl_0.65+dfsg-4.debbindiff.html
+Origin: vendor
+Bug-Debian: https://bugs.debian.org/778949
+Author: Chris Lamb <lamby at debian.org>
+Reviewed-by: gregor herrmann <gregoa at debian.org>
+Last-Update: 2015-05-01
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=104149
+Bug: https://rt.cpan.org/Ticket/Display.html?id=104149
+
+--- a/inc/My/Build/Base.pm
++++ b/inc/My/Build/Base.pm
+@@ -11,6 +11,9 @@
+ use File::Glob qw(bsd_glob);
+ use Carp;
+ 
++# Ensure deterministic output
++$Data::Dumper::Sortkeys = 1;
++
+ # use the system version of a module if present; in theory this could lead to
+ # compatibility problems (if the latest version of one of the dependencies,
+ # installed in @INC is incompatible with the bundled version of a module)
diff --git a/debian/patches/series b/debian/patches/series
index 5622f22..3671a0c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 fix-pod-spelling.patch
+reproducible_build.patch

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



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