slackbuilds_ponce/games/gzdoom-legacy/window_title_version.diff
B. Watson a60b83ab53 games/gzdoom-legacy: Added (OpenGL port of DOOM).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2017-06-11 08:06:47 +07:00

29 lines
557 B
Diff

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;
}