File fossil-1.30-remove_date_time.patch of Package fossil

From: Andreas Stieger <andreas.stieger@gmx.de>
Date: Tue, 23 Sep 2014 00:14:29 +0100
Subject: Remove __DATE and __TIME__ to prevent unneccessary rebuilds
Upstream: never
References: 

fossil.i586: W: file-contains-date-and-time /usr/bin/fossil
Your file uses  __DATE and __TIME__ this causes the package to rebuild when
not needed

---
 src/main.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: fossil-src-20150119112900/src/main.c
===================================================================
--- fossil-src-20150119112900.orig/src/main.c
+++ fossil-src-20150119112900/src/main.c
@@ -970,8 +970,8 @@ void version_cmd(void){
     int rc;
     const char *zRc;
 #endif
-    fossil_print("Compiled on %s %s using %s (%d-bit)\n",
-                 __DATE__, __TIME__, COMPILER_NAME, sizeof(void*)*8);
+    fossil_print("Compiled using %s (%d-bit)\n",
+                 COMPILER_NAME, sizeof(void*)*8);
     fossil_print("SQLite %s %.30s\n", sqlite3_libversion(), sqlite3_sourceid());
     fossil_print("Schema version %s\n", AUX_SCHEMA_MAX);
 #if defined(FOSSIL_ENABLE_MINIZ)
openSUSE Build Service is sponsored by