[med-svn] [sim4] 01/02: Sort c files for reproducible build

Andreas Tille tille at debian.org
Tue Apr 12 06:47:47 UTC 2016


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

tille pushed a commit to branch master
in repository sim4.

commit cbe78683a55fcca69215c712867c20bcbc0e7501
Author: Andreas Tille <tille at debian.org>
Date:   Tue Apr 12 08:37:38 2016 +0200

    Sort c files for reproducible build
---
 debian/changelog                       |  4 ++++
 debian/patches/compilation_order.patch | 14 ++++++++++++++
 debian/patches/series                  |  1 +
 3 files changed, 19 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index a53b0c4..0154f51 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,11 @@
 sim4 (0.0.20121010-3) UNRELEASED; urgency=medium
 
+  [ Andreas Tille ]
   * Moved packaging to Git
 
+  [ Alexis Bienvenüe ]
+  * Sort c files for reproducible build
+
  -- Andreas Tille <tille at debian.org>  Tue, 12 Apr 2016 08:29:22 +0200
 
 sim4 (0.0.20121010-2) unstable; urgency=medium
diff --git a/debian/patches/compilation_order.patch b/debian/patches/compilation_order.patch
new file mode 100644
index 0000000..af58c0d
--- /dev/null
+++ b/debian/patches/compilation_order.patch
@@ -0,0 +1,14 @@
+Description: Compilation order
+ Sort c files for compilation, to make the build reproducible.
+Author: Alexis Bienvenüe <pado at passoire.fr>
+
+--- sim4-0.0.20121010.orig/Makefile
++++ sim4-0.0.20121010/Makefile
+@@ -8,6 +8,6 @@ CFLAGS+=-g -O2 -Wall
+ LDLIBS=-lm
+  
+ sim4:
+-	$(CC) -o sim4 -I. $(CFLAGS) *.c $(LDLIBS) $(LDFLAGS)
++	$(CC) -o sim4 -I. $(CFLAGS) `LC_ALL=C ls *.c` $(LDLIBS) $(LDFLAGS)
+ clean:
+ 	rm -f sim4 *.o
diff --git a/debian/patches/series b/debian/patches/series
index 814900f..d535de3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 hardening.patch
+compilation_order.patch

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



More information about the debian-med-commit mailing list