Source: tk8.5
Version: 8.5.19-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: locale
X-Debbugs-Cc: [email protected]

Hi!

While working on the "reproducible builds" effort [1], we have noticed
that tk8.5 could not be built reproducibly.
While creating the static library, sorts the files from the glob
differently depending on the configured locale.

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

Regards,
 Reiner

[1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/debian/rules b/debian/rules
index e9018cf..b629a8f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -41,6 +41,7 @@ override_dh_auto_build:
 	$(MAKE) -C unix
 	# Build the static library
 	cd unix && \
+	  LC_ALL=C && \
 	  ar cr libtk$(v).a *.o && \
 	  ar d libtk$(v).a tkAppInit.o && \
 	  ranlib libtk$(v).a
_______________________________________________
Pkg-tcltk-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-tcltk-devel

Reply via email to