mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-14 21:56:41 +01:00
a60b83ab53
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
29 lines
557 B
Diff
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;
|
|
}
|