[Reproducible-commits] [libextutils-depends-perl] 187/187: Added patch to produce stable output
Maria Valentina Marin Rodrigues
akira-guest at moszumanska.debian.org
Wed Jan 21 21:17:04 UTC 2015
This is an automated email from the git hooks/post-receive script.
akira-guest pushed a commit to branch pu/reproducible_builds
in repository libextutils-depends-perl.
commit 70554121a70f79f9d0b998fe01c8a70bfb566fc8
Author: akira <marivalenm at gmail.com>
Date: Wed Jan 21 22:08:19 2015 +0100
Added patch to produce stable output
- in saved configs by Reiner Herrmann
- linking order
---
debian/changelog | 7 +++++++
debian/patches/deterministic_output.patch | 26 ++++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 34 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index d011462..c974727 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+libextutils-depends-perl (0.402-1.0~reproducible) UNRELEASED; urgency=low
+
+ * Added patch to produce stable output in saved configs and linking order
+ includes patch by Reiner Herrmann (closes:775678)
+
+ -- Maria Valentina Marin <marivalenm at gmail.com> Wed, 21 Jan 2015 22:02:54 +0100
+
libextutils-depends-perl (0.402-1) unstable; urgency=medium
* Team upload.
diff --git a/debian/patches/deterministic_output.patch b/debian/patches/deterministic_output.patch
new file mode 100644
index 0000000..e153a82
--- /dev/null
+++ b/debian/patches/deterministic_output.patch
@@ -0,0 +1,26 @@
+Subject: Sort keys to get the same output on every invocation
+Author: Maria Valentina Marin <marivalenm at gmail.com>
+Author: Reiner Herrmann <reiner at reiner-h.de>
+Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=101602
+Bug-Debian: https://bugs.debian.org/775678
+
+--- libextutils-depends-perl-0.402.orig/lib/ExtUtils/Depends.pm
++++ libextutils-depends-perl-0.402/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';
+
+@@ -271,7 +271,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};
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..155adf7
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+deterministic_output.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/libextutils-depends-perl.git
More information about the Reproducible-commits
mailing list