fvwm2/fvwm-no-date-time.patch
Tomáš Chvátal d5a78e34a3 Accepting request 253231 from home:elvigia:branches:X11:windowmanagers
- fvwm-no-date-time.patch Do not include __DATE__ and __TIME__ 
  in binaries.
- Drop usage of xorg-x11-devel. pick only the needed packages.

OBS-URL: https://build.opensuse.org/request/show/253231
OBS-URL: https://build.opensuse.org/package/show/X11:windowmanagers/fvwm2?expand=0&rev=29
2014-10-07 11:54:45 +00:00

25 lines
764 B
Diff

--- fvwm/session.c.orig
+++ fvwm/session.c
@@ -135,7 +135,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"; */
}
--- fvwm/fvwm.c.orig
+++ fvwm/fvwm.c
@@ -1298,8 +1298,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,