[cpl] 01/01: Remove timestamp macros from source for reproducibility
Ole Streicher
olebole at moszumanska.debian.org
Wed Feb 18 12:29:40 UTC 2015
This is an automated email from the git hooks/post-receive script.
olebole pushed a commit to branch debian
in repository cpl.
commit 02d32d12eb36a8bc29c4401ab0ba484428e0a758
Author: Ole Streicher <debian at liska.ath.cx>
Date: Wed Feb 18 13:29:13 2015 +0100
Remove timestamp macros from source for reproducibility
---
debian/changelog | 6 ++++++
debian/patches/reproducible_build.patch | 27 +++++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 34 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 711b6f3..79b009a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+cpl (6.5.1-1~exp2) UNRELEASED; urgency=medium
+
+ * Remove timestamp macros from source for reproducibility
+
+ -- Ole Streicher <olebole at debian.org> Wed, 18 Feb 2015 13:27:51 +0100
+
cpl (6.5.1-1~exp1) experimental; urgency=low
* New upstream version
diff --git a/debian/patches/reproducible_build.patch b/debian/patches/reproducible_build.patch
new file mode 100644
index 0000000..45652b9
--- /dev/null
+++ b/debian/patches/reproducible_build.patch
@@ -0,0 +1,27 @@
+Author: Ole Streicher <olebole at debian.org>
+Description: Remove timestamp macros from source
+--- a/cplcore/cpl_test.c
++++ b/cplcore/cpl_test.c
+@@ -2994,12 +2994,6 @@
+ "This platform is not big-endian\n"
+ #endif
+
+-#ifdef __DATE__
+- "Compile date: " __DATE__ "\n"
+-#endif
+-#ifdef __TIME__
+- "Compile time: " __TIME__ "\n"
+-#endif
+ #ifdef __STDC__
+ CPL_XSTRINGIFY(__STDC__) ": " CPL_STRINGIFY(__STDC__) "\n"
+ #endif
+@@ -3042,9 +3036,6 @@
+ #ifdef __OPTIMIZE__
+ CPL_XSTRINGIFY(__OPTIMIZE__) ": " CPL_STRINGIFY(__OPTIMIZE__) "\n"
+ #endif
+-#ifdef __TIMESTAMP__
+- "Last modification of " __FILE__ ": " __TIMESTAMP__ "\n"
+-#endif
+ #endif
+ ;
+
diff --git a/debian/patches/series b/debian/patches/series
index 9cd454e..1ad7748 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -10,3 +10,4 @@ fix_required_versions.patch
serial-tests
fix-ftbs-mips64el.patch
hide_mpfit_symbol.patch
+reproducible_build.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/cpl.git
More information about the debian-science-commits
mailing list