Source: ucblogo
Version: 5.5-2.1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi!

While working on the "reproducible builds"€ effort [1], we have noticed
that ucblogo could not be built reproducibly.
A generated file is sorted differently depending on the configured locale.

The attached patch fixes this by setting LC_ALL to C before sorting.

Regards,
 Reiner

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

diff --git a/makefile.in b/makefile.in
index eb8b0f4..406c9e3 100644
--- a/makefile.in
+++ b/makefile.in
@@ -48,7 +48,7 @@ helpfiles:
 
 helpfiles/HELPCONTENTS:	makehelp usermanual
 	./makehelp
-	sort helptemp | pr -5 -t -w80 >> helpfiles/HELPCONTENTS
+	LC_ALL=C sort helptemp | pr -5 -t -w80 >> helpfiles/HELPCONTENTS
 	rm helptemp
 
 makehelp:	makehelp.c

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to