Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE
stockfish
date.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File date.patch of Package stockfish
Index: Stockfish-sf_17/src/misc.cpp =================================================================== --- Stockfish-sf_17.orig/src/misc.cpp +++ Stockfish-sf_17/src/misc.cpp @@ -131,15 +131,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 << "-";
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor