mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: perl-class-methodmaker: Build reproducibly.
* gnu/packages/patches/perl-class-methodmaker-reproducible.patch: New file. * gnu/local.mk (dist_patch_DATA): Add patch. * gnu/packages/perl.scm (perl-class-methodmaker)[source]: Use patch.
This commit is contained in:
parent
d2b85f8906
commit
f31e55d081
3 changed files with 25 additions and 1 deletions
|
@ -0,0 +1,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;
|
Loading…
Add table
Add a link
Reference in a new issue