Source: tatan
Version: 1.0.dfsg1-5
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: locale
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi!

While working on the "reproducible builds" effort [1], we have noticed
that tatan could not be built reproducibly.
The list of sources is sorted differently depending on the configured locale.

The attached patch fixes this by sorting with the locale set to C.

Regards,
 Reiner

[1]: https://wiki.debian.org/ReproducibleBuilds

diff --git a/debian/patches/makefile.patch b/debian/patches/makefile.patch
index de6ca03..0773cb8 100644
--- a/debian/patches/makefile.patch
+++ b/debian/patches/makefile.patch
@@ -6,7 +6,7 @@
 +++ b/Makefile
 @@ -0,0 +1,11 @@
 +GDC=gdc
-+DSRC=$(shell find import src -name "*.d" -not -iname '*mpeg*' -not -iname 'sdl_ttf.d' | sort)
++DSRC=$(shell find import src -name "*.d" -not -iname '*mpeg*' -not -iname 'sdl_ttf.d' | LC_ALL=C sort)
 +EXE=tatan
 +
 +all: $(EXE)

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to