Source: xserver-xorg-video-openchrome Version: 1:0.3.3+git20160310-1 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
Hi, Whilst working on the "reproducible builds" effort [0], we noticed that xserver-xorg-video-openchrome could not be built reproducibly. Patch attached. Please send it upstream if possible. [0] https://wiki.debian.org/ReproducibleBuilds Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
--- a/src/Makefile.am 2016-07-15 17:56:15.066700891 +0200 --- b/src/Makefile.am 2016-07-15 18:22:08.362042386 +0200 @@ -113,6 +113,9 @@ if [ -d .svn ]; then \ echo '#define BUILDCOMMENT "(development build, at revision '\ "`svnversion -nc .. | sed -e s/^[^:]*://`"')"' > $@.tmp; \ + elif [ "$$SOURCE_DATE_EPOCH" ]; then \ + printf '#define BUILDCOMMENT "(compiled with SOURCE_DATE_EPOCH: %s)"' $$SOURCE_DATE_EPOCH \ + > $@.tmp; \ else \ date +'#define BUILDCOMMENT "(development build, compiled on %c)"' \ > $@.tmp; \