[med-svn] [fastqtl] 01/01: Add a patch to fix reproducible builds (stable order for inputs)

Dylan Aïssi bob.dybian-guest at moszumanska.debian.org
Tue Aug 30 22:17:47 UTC 2016


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

bob.dybian-guest pushed a commit to branch master
in repository fastqtl.

commit f5b2c305b4bf065994d8def1a0efd550436309c5
Author: Dylan Aïssi <bob.dybian at gmail.com>
Date:   Wed Aug 31 00:12:18 2016 +0200

    Add a patch to fix reproducible builds (stable order for inputs)
---
 debian/changelog                            |  6 ++++++
 debian/patches/03_Reproducible_builds.patch | 20 ++++++++++++++++++++
 debian/patches/series                       |  1 +
 3 files changed, 27 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 5197596..69aa7e7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+fastqtl (2.184+dfsg-4) UNRELEASED; urgency=medium
+
+  * Add a patch to fix reproducible builds (stable order for inputs).
+
+ -- Dylan Aïssi <bob.dybian at gmail.com>  Wed, 31 Aug 2016 00:08:26 +0200
+
 fastqtl (2.184+dfsg-3) unstable; urgency=low
 
   * Remove the manpage from fastqtl-doc. (Closes: #826885)
diff --git a/debian/patches/03_Reproducible_builds.patch b/debian/patches/03_Reproducible_builds.patch
new file mode 100644
index 0000000..bfe3386
--- /dev/null
+++ b/debian/patches/03_Reproducible_builds.patch
@@ -0,0 +1,20 @@
+Author: Dylan Aïssi <bob.dybian at gmail.com>
+Description: Patch the makefile in order to enable reproducible builds (stable order for inputs).
+Last-Update: 2016-08-31
+Forwarded: TODO
+
+--- a/Makefile
++++ b/Makefile
+@@ -58,9 +58,9 @@
+ 
+ #files (binary, objects, headers & sources)
+ FILE_BIN=bin/fastQTL
+-FILE_O=$(shell for file in `find src -name *.cpp`; do echo obj/$$(basename $$file .cpp).o; done)
+-FILE_H=$(shell find src -name *.h)
+-FILE_CPP=$(shell find src -name *.cpp)
++FILE_O=$(shell for file in `find src -name *.cpp | LC_ALL=C sort -z`; do echo obj/$$(basename $$file .cpp).o; done)
++FILE_H=$(shell find src -name *.h | LC_ALL=C sort -z)
++FILE_CPP=$(shell find src -name *.cpp | LC_ALL=C sort -z)
+ 
+ #default
+ all: linux
diff --git a/debian/patches/series b/debian/patches/series
index cb0fd3c..4ef5d82 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 01_Makefile_dynamic_hardenings.patch
 02_Replace_libtabix_by_libhts.patch
+03_Reproducible_builds.patch

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



More information about the debian-med-commit mailing list