File Remove-date-time-info-from-build.patch of Package mstflint
commit cba2038916c5862ea38862b60939157f8a986226
Author: Nicolas Morey-Chaisemartin <NMoreyChaisemartin@suse.com>
Date: Thu May 18 07:48:13 2017 +0200
Remove date/time info from build
Signed-off-by: Nicolas Morey-Chaisemartin <NMoreyChaisemartin@suse.com>
diff --git common/tools_version.h common/tools_version.h
index 32fe3c7e0684..7ce75ce3cdd5 100644
--- common/tools_version.h
+++ common/tools_version.h
@@ -74,10 +74,8 @@ int get_version_string(char *buf, int buf_size, const char *exe_name, const char
len = snprintf(buf, buf_size, "%s %s, ", exe_name, tool_version);
}
// cut out first and last "$" from the SVN version string:
- len += snprintf(buf + len, buf_size - len, "%s, built on %s, %s. Git SHA Hash: %s",
+ len += snprintf(buf + len, buf_size - len, "%s. Git SHA Hash: %s",
MSTFLINT_VERSION_STR,
- __DATE__,
- __TIME__,
TOOLS_GIT_SHA);
return len;
}