Package: simutrans / 121.0-1

reproducible-build.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Markus Koschany <[email protected]>
Date: Fri, 20 Nov 2015 16:54:36  0100
Subject: reproducible build

Make the build reproducible by removing the __DATE__ macro.
See also https://wiki.debian.org/ReproducibleBuilds
---
 simversion.h | 2  -
 1 file changed, 1 insertion( ), 1 deletion(-)

Index: trunk/simversion.h
===================================================================
--- trunk.orig/simversion.h
    trunk/simversion.h
@@ -46,7  46,7 @@
 
 #define VERSION_NUMBER QUOTEME(SIM_VERSION_MAJOR) "." QUOTEME(SIM_VERSION_MINOR) SIM_VERSION_PATCH_STRING SIM_VERSION_BUILD_STRING
 
-#define VERSION_DATE __DATE__
 #define VERSION_DATE ""
 
 #define SAVEGAME_PREFIX  "Simutrans "
 #define XML_SAVEGAME_PREFIX  "<?xml version=\"1.0\"?>"