Source: overgod
Version: 1.0-4.2
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 overgod could not be built reproducibly.
The list of source files differs depending on the configured locale.

The attached patch fixes this, by using the C locale for listing the
source files.

Regards,
 Reiner

[1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/debian/rules b/debian/rules
index 433a311..6082b01 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,7 +20,7 @@ CFLAGS+=-fgnu89-inline
 override_dh_auto_configure:
 
 override_dh_auto_build:
-	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) *.c -o overgod $(LIBS)
+	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $(shell LC_ALL=C ls *.c) -o overgod $(LIBS)
 
 override_dh_install:
 	mkdir -p $(CURDIR)/debian/overgod/usr/games
_______________________________________________
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