- Update to version 14: The engine is now significantly stronger than just a few months ago, and wins four times more game pairs than it loses against the previous release version. Stockfish 14 is now at least 400 Elo ahead of Stockfish 7, a top engine in 2016. During the last five years, Stockfish has thus gained about 80 Elo per year. - Refresh date.patch OBS-URL: https://build.opensuse.org/request/show/905194 OBS-URL: https://build.opensuse.org/package/show/games/stockfish?expand=0&rev=24
25 lines
764 B
Diff
25 lines
764 B
Diff
Index: Stockfish-sf_14/src/misc.cpp
|
|
===================================================================
|
|
--- Stockfish-sf_14.orig/src/misc.cpp
|
|
+++ Stockfish-sf_14/src/misc.cpp
|
|
@@ -142,18 +142,10 @@ public:
|
|
|
|
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 << (to_uci ? "\nid author ": " by ")
|
|
<< "the Stockfish developers (see AUTHORS file)";
|
|
|