[icebreaker] 05/09: Make the build reproducible.

Markus Koschany apo at moszumanska.debian.org
Sun Sep 10 17:16:05 UTC 2017


This is an automated email from the git hooks/post-receive script.

apo pushed a commit to branch master
in repository icebreaker.

commit f6b15abe26666a6c18144c1e4101676eaddb15dd
Author: Markus Koschany <apo at debian.org>
Date:   Sun Sep 10 03:49:04 2017 +0200

    Make the build reproducible.
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 5ae1922..278fdbc 100644
--- a/Makefile
+++ b/Makefile
@@ -36,7 +36,7 @@ SDL_LIB=$(SDL_LDFLAGS) $(SDL_MIXER)
 SDL_CFLAGS := $(shell $(SDLCONFIG) --cflags)
 SDL_LDFLAGS := $(shell $(SDLCONFIG) --libs)
 VERSION := $(shell awk '/^\#define VERSION/ { print $$3 }' icebreaker.h)
-VERDATE := $(shell date -r icebreaker.h +"%d %B %Y")
+VERDATE := $(shell LC_ALL=C date -u -r icebreaker.h +"%d %B %Y")
 
 ifneq ($(VERSION),$(shell awk '/^Version:/ { print $$2 }' icebreaker.spec))
   $(error "Version in spec file doesn't match version in icebreaker.h!")

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/icebreaker.git



More information about the Pkg-games-commits mailing list