src_prepare-overlay/games-fps/quake15/files/0030-builddate-template.patch

22 lines
477 B
Diff

--- a/builddate.c 2017-08-30 06:29:14.000000000 +0200
+++ b/builddate.c 2024-03-18 20:00:09.076666379 +0100
@@ -1,17 +1,2 @@
-#define STRINGIFY2(arg) #arg
-#define STRINGIFY(arg) STRINGIFY2(arg)
-
extern const char *buildstring;
-const char *buildstring =
-#ifndef NO_BUILD_TIMESTAMPS
-__TIME__ " " __DATE__ " "
-#endif
-#ifdef SVNREVISION
-STRINGIFY(SVNREVISION)
-#else
-"-"
-#endif
-#ifdef BUILDTYPE
-" " STRINGIFY(BUILDTYPE)
-#endif
-;
+const char *buildstring = "%{PVR}";