stockfish/date.patch
Michael Vetter 3a26c5575b - Update to 16.1:
* In our testing against its predecessor, Stockfish 16.1 shows a
    notable improvement in performance, with an Elo gain of up to
    27 points and winning over 2 times more game pairs than it loses.
  * Updated neural network architecture: The neural network architecture
    has undergone two updates and is currently in its 8th version.
  * Removal of handcrafted evaluation (HCE): This release marks the
    removal of the traditional handcrafted evaluation and the transition
    to a fully neural network-based approach.
  * Dual NNUE: For the first time, Stockfish includes a secondary neural
    network, used to quickly evaluate positions that are easily decided.
  * Use NNUE and UCI_AnalyseMode have been removed as they no longer had
    any effect. SlowMover has also been removed in favor of Move Overhead.
- Use %autosetup macro. Allows to eliminate the usage of deprecated PatchN.

OBS-URL: https://build.opensuse.org/package/show/games/stockfish?expand=0&rev=32
2024-02-26 12:18:29 +00:00

20 lines
782 B
Diff

Index: Stockfish-sf_16.1/src/misc.cpp
===================================================================
--- Stockfish-sf_16.1.orig/src/misc.cpp
+++ Stockfish-sf_16.1/src/misc.cpp
@@ -166,14 +166,6 @@ std::string engine_info(bool to_uci) {
ss << "-";
#ifdef GIT_DATE
ss << stringify(GIT_DATE);
-#else
- constexpr std::string_view months("Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec");
- std::string month, day, year;
- std::stringstream date(__DATE__); // From compiler, format is "Sep 21 2008"
-
- date >> month >> day >> year;
- ss << year << std::setw(2) << std::setfill('0') << (1 + months.find(month) / 4)
- << std::setw(2) << std::setfill('0') << day;
#endif
ss << "-";