[clasp] 04/05: Bug fix: "please make the build reproducible", thanks to Reiner Herrmann (Closes: #828971)

Thomas Krennwallner tkren-guest at moszumanska.debian.org
Sun Sep 4 17:48:27 UTC 2016


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

tkren-guest pushed a commit to branch devel
in repository clasp.

commit 70fc355fa25fb38e8bef19758748b3c8e5701af0
Author: Thomas Krennwallner <tkren at kr.tuwien.ac.at>
Date:   Sun Sep 4 09:51:00 2016 +0200

    Bug fix: "please make the build reproducible", thanks to Reiner Herrmann (Closes: #828971)
---
 debian/patches/reproducible-build.patch | 17 +++++++++++++++++
 debian/patches/series                   |  1 +
 2 files changed, 18 insertions(+)

diff --git a/debian/patches/reproducible-build.patch b/debian/patches/reproducible-build.patch
new file mode 100644
index 0000000..fee4c7c
--- /dev/null
+++ b/debian/patches/reproducible-build.patch
@@ -0,0 +1,17 @@
+Description: Sort source files for deterministic linking order
+Author: Reiner Herrmann <reiner at reiner-h.de>
+Origin: vendor, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=828971;msg=5
+Bug-Debian: https://bugs.debian.org/828971
+Last-Update: 2016-09-04
+Forwarded: no
+--- a/tools/Base.in
++++ b/tools/Base.in
+@@ -6,7 +6,7 @@
+ AR           ?= ar
+ -include .CONFIG
+ -include $(FLAGS)
+-SOURCES      := $(patsubst $(SOURCE_DIR)/%.cpp,%.cpp,$(wildcard $(SOURCE_DIR)/*.cpp))
++SOURCES      := $(patsubst $(SOURCE_DIR)/%.cpp,%.cpp,$(sort $(wildcard $(SOURCE_DIR)/*.cpp)))
+ ifeq ($(OUT_DIR),)
+ DEPS         := $(patsubst %.cpp,%.dep, $(SOURCES))
+ OBJECTS      := $(patsubst %.cpp,%.o, $(SOURCES))
diff --git a/debian/patches/series b/debian/patches/series
index b31f497..6616739 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+reproducible-build.patch
 clasp-manpage.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/clasp.git



More information about the debian-science-commits mailing list