File gnokii-date-time.patch of Package gnokii

--- gnokii-0.6.31.orig/gnokiid/gnokiid.c
+++ gnokii-0.6.31/gnokiid/gnokiid.c
@@ -68,9 +68,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
--- gnokii-0.6.31.orig/gnokii/gnokii.c
+++ gnokii-0.6.31/gnokii/gnokii.c
@@ -216,7 +216,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
--- gnokii-0.6.31.orig/common/data/at-emulator.c
+++ gnokii-0.6.31/common/data/at-emulator.c
@@ -1037,7 +1037,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);
openSUSE Build Service is sponsored by