Package: libmouse-perl / 2.5.6-1

reproducible_build.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
From: Reiner Herrmann <reiner@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
@@ -80,7 +80,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'}";
 }