aboutsummaryrefslogtreecommitdiff
path: root/utils/lcdproc/patches/100-remove-build-timestamp.patch
blob: 1c6c84dccdd3b5a0d2074f8504c6ca287d01b21f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
--- a/clients/lcdproc/main.c
+++ b/clients/lcdproc/main.c
@@ -58,7 +58,6 @@ int Quit = 0;
 int sock = -1;
 
 char *version = VERSION;
-char *build_date = __DATE__;
 
 int lcd_wid = 0;
 int lcd_hgt = 0;
--- a/server/main.c
+++ b/server/main.c
@@ -104,7 +104,6 @@
 char *version = VERSION;
 char *protocol_version = PROTOCOL_VERSION;
 char *api_version = API_VERSION;
-char *build_date = __DATE__;
 
 
 /**** Configuration variables ****/
@@ -197,8 +196,8 @@ main(int argc, char **argv)
 
 	/* Report that server is starting (report will be delayed) */
 	report(RPT_NOTICE, "LCDd version %s starting", version);
-	report(RPT_INFO, "Built on %s, protocol version %s, API version %s",
-		build_date, protocol_version, api_version);
+	report(RPT_INFO, "Protocol version %s, API version %s",
+		protocol_version, api_version);
 
 	clear_settings();