[libpdl-netcdf-perl] 01/02: Add patch by Reiner Herrmann to sort RETVAL keys for reproducible builds.

Bas Couwenberg sebastic at debian.org
Sat Jul 2 23:08:15 UTC 2016


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository libpdl-netcdf-perl.

commit 7026d09b8f28c9cb97090fa2a8434d7770545d6d
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Jul 3 01:02:33 2016 +0200

    Add patch by Reiner Herrmann to sort RETVAL keys for reproducible builds.
---
 debian/changelog                        |  8 ++++++++
 debian/patches/reproducible-build.patch | 16 ++++++++++++++++
 debian/patches/series                   |  1 +
 3 files changed, 25 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 75748e2..226aa9a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+libpdl-netcdf-perl (4.20-5) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Add patch by Reiner Herrmann to sort RETVAL keys for reproducible builds.
+    (closes: #829322)
+
+ -- Bas Couwenberg <sebastic at debian.org>  Sun, 03 Jul 2016 01:01:42 +0200
+
 libpdl-netcdf-perl (4.20-4) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/patches/reproducible-build.patch b/debian/patches/reproducible-build.patch
new file mode 100644
index 0000000..7c60132
--- /dev/null
+++ b/debian/patches/reproducible-build.patch
@@ -0,0 +1,16 @@
+Description: Sort RETVAL keys for reproducible build
+Author: Reiner Herrmann <reiner at reiner-h.de>
+Bug-Debian: https://bugs.debian.org/829322
+Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=115393
+
+--- a/netcdf.pd
++++ b/netcdf.pd
+@@ -822,7 +822,7 @@ sub create_low_level {
+     $xsout .= ");\n";
+     $xsout .= "OUTPUT:\n";
+     $xsout .= "\tRETVAL\n";
+-    foreach $var (keys %output) {
++    foreach $var (sort keys %output) {
+       $xsout .= "\t$var\n";
+     }
+     $xsout .= "\n\n";
diff --git a/debian/patches/series b/debian/patches/series
index 44e398b..98b895b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ perl-5.14-ccflags.patch
 spelling-errors.patch
 32bits-integer-size.patch
 skip-tests-for-big-endian.patch
+reproducible-build.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libpdl-netcdf-perl.git



More information about the Pkg-perl-cvs-commits mailing list