File: reproducible_build.patch

package info (click to toggle)
libalien-wxwidgets-perl 0.67%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,248 kB
  • ctags: 439
  • sloc: perl: 5,359; sh: 51; makefile: 18
file content (22 lines) | stat: -rw-r--r-- 841 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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@debian.org>
Reviewed-by: gregor herrmann <gregoa@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)