Source: dmucs Version: 0.6.1-2.1 Severity: wishlist Tags: patch upstream User: [email protected] Usertags: fileordering X-Debbugs-Cc: [email protected]
Hi! While working on the "reproducible builds" effort [1], we have noticed that dmucs could not be built reproducibly. The object files of simpleskts.a are added in random order to the static library, and the subdirectory doesn't honour buildflags. The attached patch fixes this. Regards, Reiner [1]: https://wiki.debian.org/ReproducibleBuilds
diff -u dmucs-0.6.1/debian/rules dmucs-0.6.1/debian/rules --- dmucs-0.6.1/debian/rules +++ dmucs-0.6.1/debian/rules @@ -4,6 +4,9 @@ include /usr/share/cdbs/1/class/autotools.mk include /usr/share/cdbs/1/rules/dpatch.mk +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/buildflags.mk + install/dmucs:: cp remhost addhost only in patch2: unchanged: --- dmucs-0.6.1.orig/COSMIC/Makefile +++ dmucs-0.6.1/COSMIC/Makefile @@ -49,7 +49,7 @@ EXETGT=../EXE # usual compiler stuff -CFLAGS = -O -I./HDR +CFLAGS += -O -I./HDR LOADLIBES = ../$(LIB) # for SCO UNIX: @@ -65,7 +65,7 @@ all : $(LIB) $(LIB) : $(OBJ) - ar r simpleskts.a *.o + ar r simpleskts.a $(OBJ) # ranlib simpleskts.a # /bin/rm -f *.o @echo "finished updating simpleskts.a"
signature.asc
Description: PGP signature

