| 1 |
Description: make builds reproducible by sorting hash keys |
| 2 |
cf. https://reproducible.debian.net/dbd/unstable/amd64/libxml-sax-expatxs-perl_1.33-1.debbindiff.html |
| 3 |
Origin: vendor |
| 4 |
Bug-Debian: https://bugs.debian.org/778978 |
| 5 |
Author: Chris Lamb <[email protected]> |
| 6 |
Reviewed-by: gregor herrmann <[email protected]> |
| 7 |
Last-Update: 2015-05-02 |
| 8 |
Forwarded: https://rt.cpan.org/Ticket/Display.html?id=104162 |
| 9 |
Bug: https://rt.cpan.org/Ticket/Display.html?id=104162 |
| 10 |
|
| 11 |
--- a/Makefile.PL |
| 12 |
+++ b/Makefile.PL |
| 13 |
@@ -152,7 +152,7 @@ |
| 14 |
comment => [qw(DocumentHandler LexicalHandler Handler)], |
| 15 |
); |
| 16 |
|
| 17 |
- for my $ev (keys %EVENT_SPEC) { |
| 18 |
+ for my $ev (sort keys %EVENT_SPEC) { |
| 19 |
$code .= <<" EOTOPCODE"; |
| 20 |
sub get_$ev { |
| 21 |
my \$self = shift; |