File gnokii-date-time.patch of Package gnokii
Index: b/gnokiid/gnokiid.c
===================================================================
--- a/gnokiid/gnokiid.c 2020-09-15 14:21:55.378408633 +0200
+++ b/gnokiid/gnokiid.c 2020-09-15 14:22:01.222632394 +0200
@@ -52,9 +52,7 @@ static void short_version()
static void version()
{
fprintf(stderr, _("Copyright (C) Hugh Blemings <hugh@blemings.org>, 1999\n"
- "Copyright (C) Pavel Janik ml. <Pavel.Janik@suse.cz>, 1999\n"
- "Built %s %s\n"),
- __TIME__, __DATE__);
+ "Copyright (C) Pavel Janik ml. <Pavel.Janik@suse.cz>, 1999\n"));
}
/* The function usage is only informative - it prints this program's usage and
Index: b/gnokii/gnokii.c
===================================================================
--- a/gnokii/gnokii.c 2020-09-15 14:21:55.378408633 +0200
+++ b/gnokii/gnokii.c 2020-09-15 14:22:01.222632394 +0200
@@ -203,7 +203,7 @@ static void version(void)
"gnokii is free software, covered by the GNU General Public License, and you are\n"
"welcome to change it and/or distribute copies of it under certain conditions.\n"
"There is absolutely no warranty for gnokii. See GPL for details.\n"
- "Built %s %s\n"), __TIME__, __DATE__);
+ ));
}
/* The function usage is only informative - it prints this program's usage and
Index: b/common/data/at-emulator.c
===================================================================
--- a/common/data/at-emulator.c 2020-09-15 14:21:55.378408633 +0200
+++ b/common/data/at-emulator.c 2020-09-15 14:22:01.222632394 +0200
@@ -1020,7 +1020,7 @@ bool gn_atem_command_plusg(char **buf)
/* AT+GMR is Revision information for the TA (Terminal Adaptor) */
if (strncasecmp(*buf, "MR", 3) == 0) {
buf[0] += 2;
- gsprintf(buffer, MAX_LINE_LENGTH, "%s %s %s\r\n", VERSION, __TIME__, __DATE__);
+ gsprintf(buffer, MAX_LINE_LENGTH, "%s\r\n", VERSION);
gn_atem_string_out(buffer);
return (false);