Projects
Games
stockfish18
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 2
View file
stockfish18.spec
Changed
@@ -28,6 +28,7 @@ Source4: %{name}.ini Source5: Book.bin.bz2 Source100: %{name}.changes +Patch1: stockfish-no-build-date.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build BuildRequires: gcc-c++ dos2unix AutoReqProv: on @@ -65,6 +66,7 @@ %prep %setup -q +%patch1 -p1 dos2unix Readme.txt dos2unix src/COPYING chmod 0644 src/COPYING
View file
stockfish-no-build-date.patch
Added
@@ -0,0 +1,17 @@ +--- + src/misc.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Index: stockfish18-1.8.0/src/misc.cpp +=================================================================== +--- stockfish18-1.8.0.orig/src/misc.cpp ++++ stockfish18-1.8.0/src/misc.cpp +@@ -153,7 +153,7 @@ const string engine_name() { + if (!EngineVersion.empty()) + return AppName + " " + EngineVersion + cpu64; + +- string date(__DATE__); // From compiler, format is "Sep 21 2008" ++ string date("Sep 11 2001"); // From compiler, format is "Sep 21 2008" + string months("Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec"); + + size_t mon = 1 + months.find(date.substr(0, 3)) / 4;
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.