libcommon-sense-perl (3.74-1+dyson1) reproducible_build.patch

Summary

 sense.pm.PL |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

    
download this patch

Patch contents

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/) {