Jan Engelhardt
f16fbe1737
OBS-URL: https://build.opensuse.org/package/show/games/prboom-plus?expand=0&rev=36
31 lines
719 B
Diff
31 lines
719 B
Diff
From 2bf8068e0cd916b39fd2c57f3c9bf582b0fc45d8 Mon Sep 17 00:00:00 2001
|
|
From: Jan Engelhardt <jengelh@inai.de>
|
|
Date: Sun, 19 Feb 2012 07:16:45 +0100
|
|
Subject: [PATCH] Drop __DATE__/__TIME__ / enable reproducible builds
|
|
|
|
---
|
|
prboom2/src/version.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git prboom2/src/version.c prboom2/src/version.c
|
|
index 1f5401f2..2cc173f6 100644
|
|
--- prboom2/src/version.c
|
|
+++ prboom2/src/version.c
|
|
@@ -37,11 +37,11 @@
|
|
#include "version.h"
|
|
|
|
#ifndef BUILD_DATE
|
|
-#define BUILD_DATE __DATE__
|
|
+#define BUILD_DATE ""
|
|
#endif
|
|
|
|
#ifndef BUILD_TIME
|
|
-#define BUILD_TIME __TIME__
|
|
+#define BUILD_TIME ""
|
|
#endif
|
|
|
|
const char version_date[] = BUILD_DATE " " BUILD_TIME;
|
|
--
|
|
2.30.2
|
|
|