summaryrefslogtreecommitdiff
path: root/games/gzdoom/window_title_version.diff
diff options
context:
space:
mode:
Diffstat (limited to 'games/gzdoom/window_title_version.diff')
-rw-r--r--games/gzdoom/window_title_version.diff29
1 files changed, 29 insertions, 0 deletions
diff --git a/games/gzdoom/window_title_version.diff b/games/gzdoom/window_title_version.diff
new file mode 100644
index 0000000000..749b655465
--- /dev/null
+++ b/games/gzdoom/window_title_version.diff
@@ -0,0 +1,29 @@
+diff -Naur gzdoom-g2.1.1.orig/src/gitinfo.cpp gzdoom-g2.1.1/src/gitinfo.cpp
+--- gzdoom-g2.1.1.orig/src/gitinfo.cpp 2016-02-23 04:20:43.000000000 -0500
++++ gzdoom-g2.1.1/src/gitinfo.cpp 2016-08-03 15:18:12.164389643 -0400
+@@ -44,22 +44,15 @@
+
+ const char *GetGitHash()
+ {
+- return GIT_HASH;
++ return "release";
+ }
+
+ const char *GetGitTime()
+ {
+- return GIT_TIME;
++ return __DATE__;
+ }
+
+ const char *GetVersionString()
+ {
+- if (GetGitDescription()[0] == '\0')
+- {
+- return VERSIONSTR;
+- }
+- else
+- {
+- return GIT_DESCRIPTION;
+- }
++ return VERSIONSTR;
+ }