[med-svn] [qtltools] 01/01: Add a patch to fix reproducible builds. (Closes: #848280)

Dylan Aïssi bob.dybian-guest at moszumanska.debian.org
Fri Dec 16 21:41: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 qtltools.

commit cab54ef6bb9a50e756a23e93bd29d2bb9e23ba25
Author: Dylan Aïssi <bob.dybian at gmail.com>
Date:   Fri Dec 16 22:14:45 2016 +0100

    Add a patch to fix reproducible builds. (Closes: #848280)
---
 debian/changelog                        |  7 +++++++
 debian/patches/reproducible_build.patch | 18 ++++++++++++++++++
 debian/patches/series                   |  1 +
 3 files changed, 26 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 5efcff4..091466a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+qtltools (1.0+dfsg-2) UNRELEASED; urgency=medium
+
+  * Add a patch to fix reproducible builds. (Closes: #848280)
+     (Thanks to Reiner Herrmann <reiner at reiner-h.de>)
+
+ -- Dylan Aïssi <bob.dybian at gmail.com>  Fri, 16 Dec 2016 22:12:04 +0100
+
 qtltools (1.0+dfsg-1) unstable; urgency=medium
 
   * Initial release. (Closes: #845590)
diff --git a/debian/patches/reproducible_build.patch b/debian/patches/reproducible_build.patch
new file mode 100644
index 0000000..00cd518
--- /dev/null
+++ b/debian/patches/reproducible_build.patch
@@ -0,0 +1,18 @@
+Author: Reiner Herrmann <reiner at reiner-h.de>
+Description: Sort source files for deterministic linking order
+Bug-Debian: https://bugs.debian.org/848280
+Forwarded: TODO
+
+--- a/Makefile
++++ b/Makefile
+@@ -27,8 +27,8 @@
+ BFILE=bin/QTLtools
+ HFILE=$(shell find src -name *.h)
+ TFILE=$(shell find lib -name *.h)
+-CFILE=$(shell find src -name *.cpp)
+-OFILE=$(shell for file in `find src -name *.cpp`; do echo obj/$$(basename $$file .cpp).o; done)
++CFILE=$(shell find src -name *.cpp | LC_ALL=C sort)
++OFILE=$(shell for file in `find src -name *.cpp | LC_ALL=C sort`; do echo obj/$$(basename $$file .cpp).o; done)
+ VPATH=$(shell for file in `find src -name *.cpp`; do echo $$(dirname $$file); done)
+ 
+ #DEFAULT VERSION (I.E. UNIGE DESKTOP RELEASE VERSION)
diff --git a/debian/patches/series b/debian/patches/series
index 825a79b..bc92ec2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 Makefile_config.patch
 Spelling_error.patch
+reproducible_build.patch

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



More information about the debian-med-commit mailing list