Package: libcommon-sense-perl / 3.74-2

reproducible_build.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: make build reproducible by sorting hash keys
Origin: vendor
Bug-Debian: https://bugs.debian.org/778952
Forwarded: no
Author: Chris Lamb <lamby@debian.org>
Reviewed-by: gregor herrmann <gregoa@debian.org>
Last-Update: 2015-05-02

--- a/sense.pm.PL
+++ b/sense.pm.PL
@@ -44,7 +44,7 @@
       print "   # use strict, use utf8; use feature;\n";
       printf "   \$^H |= 0x%x;\n", $H;
 
-      if (my @features = grep /^feature_/, keys %H) {
+      if (my @features = grep /^feature_/, sort keys %H) {
          print "   \@^H{qw(@features)} = (1) x ", (scalar @features), ";\n";
       }
    } elsif (/^VERSION/) {