unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 29a71babd147e3863dde64b0d8e39f4980be38fc 756 bytes (raw)
name: packages/patches/perl-class-methodmaker-reproducible.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
 
Description: make build reproducible by sorting hash keys
 cf. https://reproducible.debian.net/dbd/unstable/amd64/libclass-methodmaker-perl_2.21-1.debbindiff.html
Origin: vendor
Bug-Debian: https://bugs.debian.org/778979
Author: Chris Lamb <lamby@debian.org>
Reviewed-by: gregor herrmann <gregoa@debian.org>
Last-Update: 2015-05-02
Forwarded: https://rt.cpan.org/Ticket/Display.html?id=104163
Bug: https://rt.cpan.org/Ticket/Display.html?id=104163

--- a/lib/Class/MethodMaker/OptExt.pm
+++ b/lib/Class/MethodMaker/OptExt.pm
@@ -357,7 +357,7 @@
 
 # -------------------------------------
 
-sub option_names { grep $_ ne 'DEFAULT', keys %{OPTEXT()} }
+sub option_names { grep $_ ne 'DEFAULT', sort keys %{OPTEXT()} }
 
 sub optcode {
   my $class = shift;

debug log:

solving 29a71babd147e3863dde64b0d8e39f4980be38fc ...
found 29a71babd147e3863dde64b0d8e39f4980be38fc in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).