Source: xserver-xorg-video-openchrome
Version: 1:0.3.3+git20160310-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]
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
`. `'` [email protected] / 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/^[^:]*://`"')"' >
[email protected]; \
+ elif [ "$$SOURCE_DATE_EPOCH" ]; then \
+ printf '#define BUILDCOMMENT "(compiled with SOURCE_DATE_EPOCH:
%s)"' $$SOURCE_DATE_EPOCH \
+ > [email protected]; \
else \
date +'#define BUILDCOMMENT "(development build, compiled on
%c)"' \
> [email protected]; \