File: reproducible_build.patch

package info (click to toggle)
libmouse-perl 2.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,156 kB
  • sloc: perl: 14,569; ansic: 218; makefile: 8
file content (17 lines) | stat: -rw-r--r-- 572 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Make the build reproducible: without this the file list is embedded in readdir order, which is not deterministic.
Origin: vendor
From: Reiner Herrmann <reiner@reiner-h.de>
Reviewed-by: gregor herrmann <gregoa@debian.org>
Last-Update: 2020-03-29

--- a/tool/generate-mouse-tiny.pl
+++ b/tool/generate-mouse-tiny.pl
@@ -79,7 +79,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'}";
 }