public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/stockfish] epel10: Make the build pass on EPEL 8
@ 2026-10-25  9:33 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-10-25  9:33 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/stockfish
            Branch : epel10
            Commit : 256e09c17f1a8df4af2682c063dde072e8ae2fb0
            Author : Ondrej Mosnáček <omosnacek@gmail.com>
            Date   : 2026-02-03T21:32:25+01:00
            Stats  : +6/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/stockfish/c/256e09c17f1a8df4af2682c063dde072e8ae2fb0?branch=epel10

            Log:
            Make the build pass on EPEL 8

SF 18 introduced a build-time assert for minimum GCC version to avoid a
Windows bug. Deactivate this assert so that the package still builds on
EPEL 8.

Signed-off-by: Ondrej Mosnáček <omosnacek@gmail.com>

---
diff --git a/stockfish.spec b/stockfish.spec
index 25b8f11..e0ecf4e 100644
--- a/stockfish.spec
+++ b/stockfish.spec
@@ -52,6 +52,12 @@ test %nnuehash2 = "$(sha256sum %{SOURCE2} | cut -c1-12)"
 #%%autosetup -n%%{name}-%%{version}-linux
 %autosetup -p1 -n%{srcname}-sf_%{version}
 
+# Disable minimum GCC version check, as it only guards against
+# a bug that only affects Windows - see:
+# https://github.com/official-stockfish/Stockfish/issues/3216
+# This is currently only required for EPEL8 build to pass.
+sed -i '/#error/d' src/types.h
+
 # Verify the NNUE net checksums match the defaults defined in the sources
 grep -Fq '#define EvalFileDefaultNameBig "nn-%{nnuehash1}.nnue"' src/evaluate.h
 grep -Fq '#define EvalFileDefaultNameSmall "nn-%{nnuehash2}.nnue"' src/evaluate.h

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-25  9:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-25  9:33 [rpms/stockfish] epel10: Make the build pass on EPEL 8 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox