[gerris] 01/07: Sort with C locale to get reproducible results. (Closes: #795868)
Anton Gladky
gladk at moszumanska.debian.org
Mon Aug 17 19:45:23 UTC 2015
This is an automated email from the git hooks/post-receive script.
gladk pushed a commit to branch master
in repository gerris.
commit 061913bb4e110bc1a96e92ea35aed489d7722c34
Author: Reiner Herrmann <reiner at reiner-h.de>
Date: Mon Aug 17 20:39:30 2015 +0200
Sort with C locale to get reproducible results. (Closes: #795868)
---
debian/patches/05_reproducible_build.patch | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/debian/patches/05_reproducible_build.patch b/debian/patches/05_reproducible_build.patch
new file mode 100644
index 0000000..a7ab224
--- /dev/null
+++ b/debian/patches/05_reproducible_build.patch
@@ -0,0 +1,25 @@
+Author: Reiner Herrmann <reiner at reiner-h.de>
+Description: Sort with C locale to get reproducible results.
+
+Index: gerris-20131206+dfsg/doc/examples/Makefile.am
+===================================================================
+--- gerris-20131206+dfsg.orig/doc/examples/Makefile.am
++++ gerris-20131206+dfsg/doc/examples/Makefile.am
+@@ -27,7 +27,7 @@ CLEANFILES = $(BUILT_SOURCES) Makefile.d
+ pkgdata_DATA = gfs2tex.py gfs.lang gerris.dic gfs-keywords.el gfs-mode.el gfs.sty gfs.hva kaltura.sh gfs.php
+
+ gerris.dic: classes modulesyms.sh $(top_srcdir)/modules/Makefile.am modules.list
+- ($(builddir)/classes && sh $(srcdir)/modulesyms.sh $(top_srcdir)/modules $(pkglibdir)) | sort > gerris.dic
++ ($(builddir)/classes && sh $(srcdir)/modulesyms.sh $(top_srcdir)/modules $(pkglibdir)) | LC_ALL=C sort > gerris.dic
+
+ gfs.lang: gerris.dic
+ echo "# Language file for source-highlight" > gfs.lang
+@@ -38,7 +38,7 @@ gfs.lang: gerris.dic
+ echo "redef preproc = \"C preprocessor command is not compatible with the use of # as comment character in GTS\"" >> gfs.lang
+
+ modules.list: modules $(top_srcdir)/modules/Makefile.am
+- $(builddir)/modules $(top_srcdir)/modules/*.la $(pkglibdir)/*.so | sort | uniq > modules.list
++ $(builddir)/modules $(top_srcdir)/modules/*.la $(pkglibdir)/*.so | LC_ALL=C sort | uniq > modules.list
+
+ gfs-keywords.el: gerris.dic modules.list
+ echo "(defvar gfs-abbrevs '(" > gfs-keywords.el
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/gerris.git
More information about the debian-science-commits
mailing list