File root-remove-date-and-time.patch of Package root

From: Thomas Zimmermann <bugs@vdm-design.de>
Date: 2013-06-05 10:13:00 +0200
Subject: Remove __DATE__ and __TIME__
Upstream: never

Remove __DATE__ and __TIME__ from most sources
The occurrences in version.cxx will be replaced in the spec file
---

diff -Nurd root-v5-34-00-patches.orig/core/base/src/TROOT.cxx root-v5-34-00-patches/core/base/src/TROOT.cxx
--- root-v5-34-00-patches.orig/core/base/src/TROOT.cxx	2013-05-31 17:45:45.000000000 +0200
+++ root-v5-34-00-patches/core/base/src/TROOT.cxx	2013-06-05 10:09:50.000000000 +0200
@@ -316,8 +316,8 @@
    fVersionInt      = IVERSQ();
    fVersionDate     = IDATQQ(ROOT_RELEASE_DATE);
    fVersionTime     = ITIMQQ(ROOT_RELEASE_TIME);
-   fBuiltDate       = IDATQQ(__DATE__);
-   fBuiltTime       = ITIMQQ(__TIME__);
+   fBuiltDate       = fVersionDate;
+   fBuiltTime       = fVersionTime;
 
    ReadGitInfo();
 
diff -Nurd root-v5-34-00-patches.orig/graf2d/asimage/src/libAfterImage/libungif/gif_err.c root-v5-34-00-patches/graf2d/asimage/src/libAfterImage/libungif/gif_err.c
--- root-v5-34-00-patches.orig/graf2d/asimage/src/libAfterImage/libungif/gif_err.c	2013-05-31 17:45:45.000000000 +0200
+++ root-v5-34-00-patches/graf2d/asimage/src/libAfterImage/libungif/gif_err.c	2013-06-05 10:10:16.000000000 +0200
@@ -32,7 +32,6 @@
 	"	IBMPC "
 	GIF_LIB_VERSION
 	"	Eric S. Raymond,	"
-	__DATE__ ",   " __TIME__ "\n"
 	"(C) Copyright 1997 Eric S. Raymond\n";
 #endif /* SYSV */
openSUSE Build Service is sponsored by