[perl-ExtUtils-Depends] Depends.pm: sort deps in save_config() and get_makefile_vars()
- From: Brian Manning <bmanning src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [perl-ExtUtils-Depends] Depends.pm: sort deps in save_config() and get_makefile_vars()
- Date: Fri, 30 Jan 2015 02:57:06 +0000 (UTC)
commit 07bf8ee3208ac5300d9b9f79eb489c2e6a9d1423
Author: Brian Manning <bmanning src gnome org>
Date: Wed Jan 28 22:26:24 2015 -0800
Depends.pm: sort deps in save_config() and get_makefile_vars()
- Patch submitted by Debian's reproducible build team for RT#101602
lib/ExtUtils/Depends.pm | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lib/ExtUtils/Depends.pm b/lib/ExtUtils/Depends.pm
index 74043e1..2dc767e 100644
--- a/lib/ExtUtils/Depends.pm
+++ b/lib/ExtUtils/Depends.pm
@@ -127,7 +127,7 @@ sub save_config {
inc => join (" ", @{ $self->{inc} }),
libs => $self->{libs},
typemaps => [ map { basename $_ } @{ $self->{typemaps} } ],
- deps => [keys %{ $self->{deps} }],
+ deps => [sort keys %{ $self->{deps} }],
}], ['self']);
print $file <<'EOF';
@@ -272,7 +272,7 @@ sub get_makefile_vars {
my @incbits = map { split } @{ $self->{inc} };
my @libsbits = split /\s+/, $self->{libs};
my @typemaps = @{ $self->{typemaps} };
- foreach my $d (keys %{ $self->{deps} }) {
+ foreach my $d (sort keys %{ $self->{deps} }) {
my $dep = $self->{deps}{$d};
#push @defbits, @{ $dep->{defines} };
push @incbits, @{ $dep->{defines} } if $dep->{defines};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]