[med-svn] [libhat-trie] 01/01: make build reproducible

Sascha Steinbiss satta at debian.org
Mon Aug 29 18:36:27 UTC 2016


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

satta pushed a commit to branch master
in repository libhat-trie.

commit 6dfa78e128d9b3fe44362898587768c1b2fc55f3
Author: Sascha Steinbiss <satta at debian.org>
Date:   Mon Aug 29 18:36:19 2016 +0000

    make build reproducible
---
 debian/changelog                  |  8 ++++++++
 debian/patches/reproducible.patch | 13 +++++++++++++
 debian/patches/series             |  1 +
 3 files changed, 22 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 99b2c5d..00b6f9f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+libhat-trie (0.0~git25f9e946-2) unstable; urgency=medium
+
+  * Make build reproducible.
+    - make sure CFLAGS does not get overwritten, dropping
+      -fdebug-prefix-map.
+
+ -- Sascha Steinbiss <satta at debian.org>  Mon, 29 Aug 2016 18:23:43 +0000
+
 libhat-trie (0.0~git25f9e946-1) unstable; urgency=medium
 
   * Initial release. (Closes: #827937)
diff --git a/debian/patches/reproducible.patch b/debian/patches/reproducible.patch
new file mode 100644
index 0000000..19e099e
--- /dev/null
+++ b/debian/patches/reproducible.patch
@@ -0,0 +1,13 @@
+Description: make build reproducible
+Author: Sascha Steinbiss <sascha at steinbiss.name>
+--- a/configure.ac
++++ b/configure.ac
+@@ -4,7 +4,7 @@
+ m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
+ AC_CONFIG_MACRO_DIR([m4])
+ 
+-base_CFLAGS="-std=c99 -Wall -Wextra -pedantic"
++base_CFLAGS="${CFLAGS} -std=c99 -Wall -Wextra -pedantic"
+ opt_CFLAGS="${base_CFLAGS} -O3"
+ dbg_CFLAGS="${base_CFLAGS} -g -O0"
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..038ee28
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+reproducible.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/libhat-trie.git



More information about the debian-med-commit mailing list