Source: libretro-beetle-psx Version: 0.9.38.6+git20151019-1 Severity: wishlist Tags: patch upstream User: reproducible-builds@lists.alioth.debian.org Usertags: fileordering X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org
Hi! While working on the "reproducible builds" effort [1], we have noticed that libretro-beetle-psx could not be built reproducibly. Some source files are not sorted, which causes a non-deterministic linking order. The attached patch fixes this. Regards, Reiner [1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/debian/patches/03_reproducible_build.patch b/debian/patches/03_reproducible_build.patch new file mode 100644 index 0000000..e6b56bb --- /dev/null +++ b/debian/patches/03_reproducible_build.patch @@ -0,0 +1,14 @@ +Author: Reiner Herrmann <rei...@reiner-h.de> +Description: Sort source files for deterministic linking order + +--- a/Makefile.common ++++ b/Makefile.common +@@ -103,7 +103,7 @@ + endif + + ifeq ($(NEED_TREMOR), 1) +- SOURCES_C += $(wildcard $(MEDNAFEN_DIR)/tremor/*.c) ++ SOURCES_C += $(sort $(wildcard $(MEDNAFEN_DIR)/tremor/*.c)) + FLAGS += -DNEED_TREMOR + endif + diff --git a/debian/patches/series b/debian/patches/series index 2e50ae5..651aa8f 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ 01_shared_libtrio.patch 02_fix_warning.patch +03_reproducible_build.patch
signature.asc
Description: PGP signature
_______________________________________________ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds