projects/guix·blob javascript-team · refs

21 lines · 756 B

1Description: make build reproducible by sorting hash keys
2 cf. https://reproducible.debian.net/dbd/unstable/amd64/libclass-methodmaker-perl_2.21-1.debbindiff.html
3Origin: vendor
4Bug-Debian: https://bugs.debian.org/778979
5Author: Chris Lamb <[email protected]>
6Reviewed-by: gregor herrmann <[email protected]>
7Last-Update: 2015-05-02
8Forwarded: https://rt.cpan.org/Ticket/Display.html?id=104163
9Bug: https://rt.cpan.org/Ticket/Display.html?id=104163
10
11--- a/lib/Class/MethodMaker/OptExt.pm
12+++ b/lib/Class/MethodMaker/OptExt.pm
13@@ -357,7 +357,7 @@
14
15 # -------------------------------------
16
17-sub option_names { grep $_ ne 'DEFAULT', keys %{OPTEXT()} }
18+sub option_names { grep $_ ne 'DEFAULT', sort keys %{OPTEXT()} }
19
20 sub optcode {
21 my $class = shift;