100-remove-build-timestamp.patch 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. Index: lcdproc-0.5.9/clients/lcdproc/main.c
  2. ===================================================================
  3. --- lcdproc-0.5.9.orig/clients/lcdproc/main.c 2017-04-21 12:43:48.000000000 +0200
  4. +++ lcdproc-0.5.9/clients/lcdproc/main.c 2017-12-06 23:36:54.674753530 +0100
  5. @@ -58,7 +58,6 @@
  6. int sock = -1;
  7. char *version = VERSION;
  8. -char *build_date = __DATE__;
  9. int lcd_wid = 0;
  10. int lcd_hgt = 0;
  11. Index: lcdproc-0.5.9/server/main.c
  12. ===================================================================
  13. --- lcdproc-0.5.9.orig/server/main.c 2017-04-24 22:17:15.000000000 +0200
  14. +++ lcdproc-0.5.9/server/main.c 2017-12-06 23:36:47.550605856 +0100
  15. @@ -104,7 +104,6 @@
  16. char *version = VERSION;
  17. char *protocol_version = PROTOCOL_VERSION;
  18. char *api_version = API_VERSION;
  19. -char *build_date = __DATE__;
  20. /**** Configuration variables ****/
  21. @@ -197,8 +196,8 @@
  22. /* Report that server is starting (report will be delayed) */
  23. report(RPT_NOTICE, "LCDd version %s starting", version);
  24. - report(RPT_INFO, "Built on %s, protocol version %s, API version %s",
  25. - build_date, protocol_version, api_version);
  26. + report(RPT_INFO, "Protocol version %s, API version %s",
  27. + protocol_version, api_version);
  28. clear_settings();