0
0
mirror of https://github.com/openwrt/packages.git synced 2025-02-07 09:19:51 +00:00
packages/utils/lcdproc/patches/100-remove-build-timestamp.patch
Ilya Lipnitskiy 5d8d4fbbcb treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-20 16:02:15 -08:00

32 lines
845 B
Diff

--- 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();