fvwm2/fvwm-no-date-time.patch

30 lines
935 B
Diff
Raw Normal View History

---
fvwm/fvwm.c | 4 ++--
fvwm/session.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
--- fvwm/fvwm.c
+++ fvwm/fvwm.c 2017-02-07 11:11:29.990180773 +0000
@@ -1295,8 +1295,8 @@ static void setVersionInfo(void)
int support_len;
/* Set version information string */
- sprintf(version_str, "fvwm %s%s compiled on %s at %s",
- VERSION, VERSIONINFO, __DATE__, __TIME__);
+ sprintf(version_str, "fvwm %s%s",
+ VERSION, VERSIONINFO);
Fvwm_VersionInfo = safestrdup(version_str);
sprintf(license_str,
--- fvwm/session.c
+++ fvwm/session.c 2017-02-07 11:11:29.990180773 +0000
@@ -136,7 +136,7 @@ static char *get_version_string(void)
{
/* migo (14-Mar-2001): it is better to manually update a version string
* in the stable branch, otherwise saving sessions becomes useless */
- return CatString3(VERSION, ", ", __DATE__);
+ return CatString3(VERSION, ", ", "??? ?? ????");
/* return "2.6-0"; */
}