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

apo pushed a commit to branch master
in repository netpanzer.

commit f502fa6876b8712a5def2226d4f00b704b1942e1
Author: Markus Koschany <[email protected]>
Date:   Sat Jan 21 04:09:45 2017 +0100

    Make the build reproducible.
    
    Thanks: Reiner Herrmann for the report and patch.
    Closes: #827150
---
 debian/patches/reproducible-build.patch | 14 ++++++++++++++
 debian/patches/series                   |  1 +
 2 files changed, 15 insertions(+)

diff --git a/debian/patches/reproducible-build.patch 
b/debian/patches/reproducible-build.patch
new file mode 100644
index 0000000..2336bff
--- /dev/null
+++ b/debian/patches/reproducible-build.patch
@@ -0,0 +1,14 @@
+Author: Reiner Herrmann <[email protected]>
+Description: Sort source files for deterministic linking order
+
+--- a/SConstruct
++++ b/SConstruct
+@@ -65,7 +65,7 @@
+     sources = []
+     sourceDirs = Split(sourceDirs)
+     for d in sourceDirs:
+-        sources.append(glob.glob( sourcePrefix + '/' + d + '/' + pattern))
++        sources.append(sorted(glob.glob( sourcePrefix + '/' + d + '/' + 
pattern)))
+     sources = Flatten(sources)
+     targetsources = []
+     for s in sources:
diff --git a/debian/patches/series b/debian/patches/series
index 24a0dd9..a9a01af 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ system-physfs.patch
 system-lua.patch
 desktop-file.patch
 hardening.patch
+reproducible-build.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/netpanzer.git

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to