[xgalaga++] 02/05: debian/patches: Add reproducible_build.patch.
Takaki Taniguchi
takaki at moszumanska.debian.org
Wed Jul 5 12:32:01 UTC 2017
This is an automated email from the git hooks/post-receive script.
takaki pushed a commit to branch master
in repository xgalaga++.
commit 478d088b435af3a3b28542a415f94b2ba1a0d92a
Author: TANIGUCHI Takaki <takaki at asis.media-as.org>
Date: Wed Jul 5 21:30:05 2017 +0900
debian/patches: Add reproducible_build.patch.
---
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..0f7c834
--- /dev/null
+++ b/debian/patches/reproducible_build.patch
@@ -0,0 +1,14 @@
+Author: Reiner Herrmann <reiner at reiner-h.de>
+Description: Sort source files to get a deterministic linking order
+
+--- a/Makefile
++++ b/Makefile
+@@ -124,7 +124,7 @@
+ LDOPTS = $(GOAL_OPTS) $(LNK_LIBS)
+
+ # source files in this project
+-sources := $(wildcard $(srcdir)/*.$(SOURCE_SUFFIX))
++sources := $(sort $(wildcard $(srcdir)/*.$(SOURCE_SUFFIX)))
+
+ # object files in this project
+ objs := $(notdir $(sources))
diff --git a/debian/patches/series b/debian/patches/series
index 67dff1b..9112cf3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
fix_man_section
+reproducible_build.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/xgalaga++.git
More information about the Pkg-games-commits
mailing list