File date.patch of Package stockfish

diff -urEbwB Stockfish-sf_7/src/misc.cpp Stockfish-sf_7.new/src/misc.cpp
--- Stockfish-sf_7/src/misc.cpp	2016-01-02 21:26:02.000000000 +0100
+++ Stockfish-sf_7.new/src/misc.cpp	2016-04-28 11:35:29.001468116 +0200
@@ -99,18 +99,10 @@
 
 const string engine_info(bool to_uci) {
 
-  const string months("Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec");
-  string month, day, year;
-  stringstream ss, date(__DATE__); // From compiler, format is "Sep 21 2008"
+  stringstream ss;
 
   ss << "Stockfish " << Version << setfill('0');
 
-  if (Version.empty())
-  {
-      date >> month >> day >> year;
-      ss << setw(2) << day << setw(2) << (1 + months.find(month) / 4) << year.substr(2);
-  }
-
   ss << (Is64Bit ? " 64" : "")
      << (HasPext ? " BMI2" : (HasPopCnt ? " POPCNT" : ""))
      << (to_uci  ? "\nid author ": " by ")
openSUSE Build Service is sponsored by