[mame] 05/13: Add date_timestamp.patch: make build reproducible.
Jordi Mallach
jordi at moszumanska.debian.org
Tue Mar 22 23:20:49 UTC 2016
This is an automated email from the git hooks/post-receive script.
jordi pushed a commit to branch master
in repository mame.
commit 9f5d19f0cf158e355ff7a2678a34bf05b43fd58f
Author: Jordi Mallach <jordi at debian.org>
Date: Tue Mar 22 23:21:27 2016 +0100
Add date_timestamp.patch: make build reproducible.
Add a patch to remove date of build, which is
pointless and makes the binary non-reproducible.
---
debian/changelog | 2 ++
debian/patches/date_timestamp.patch | 14 ++++++++++++++
debian/patches/series | 1 +
3 files changed, 17 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index a9d12d4..f8e1274 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,8 @@ mame (0.171-1) UNRELEASED; urgency=medium
- libqt4-dev → qt5-default
* Build against system sqlite3. Define USE_SYSTEM_LIB_SQLITE3=1 and
add libsqlite3-dev to B-Ds.
+ * Add date_timestamp.patch: remove date of build, which is pointless and
+ makes the binary non-reproducible.
-- Jordi Mallach <jordi at debian.org> Thu, 10 Mar 2016 23:38:43 +0100
diff --git a/debian/patches/date_timestamp.patch b/debian/patches/date_timestamp.patch
new file mode 100644
index 0000000..04d6fda
--- /dev/null
+++ b/debian/patches/date_timestamp.patch
@@ -0,0 +1,14 @@
+Author: Jordi Mallach <jordi at debian.org>
+Description: Remove date of build to ensure binary reproducibility.
+Forwarded: no
+
+Index: mame-0.171/src/version.cpp
+===================================================================
+--- mame-0.171.orig/src/version.cpp
++++ mame-0.171/src/version.cpp
+@@ -13,4 +13,4 @@
+ extern const char bare_build_version[];
+ extern const char build_version[];
+ const char bare_build_version[] = BARE_BUILD_VERSION;
+-const char build_version[] = BARE_BUILD_VERSION " (" __DATE__")";
++const char build_version[] = BARE_BUILD_VERSION;
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..d854efc
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+date_timestamp.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/mame.git
More information about the Pkg-games-commits
mailing list