commit: 6e890a920265677baf32e64925d96a1b50c710e8 Author: Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org> AuthorDate: Sun Apr 27 18:38:15 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Apr 27 22:52:29 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e890a92
games-board/cutechess: fix build with gcc 15 Closes: https://bugs.gentoo.org/944259 Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org> Part-of: https://github.com/gentoo/gentoo/pull/41796 Closes: https://github.com/gentoo/gentoo/pull/41796 Signed-off-by: Sam James <sam <AT> gentoo.org> games-board/cutechess/cutechess-1.3.1-r2.ebuild | 4 ++++ games-board/cutechess/files/cutechess-1.3.1-bool.patch | 13 +++++++++++++ 2 files changed, 17 insertions(+) diff --git a/games-board/cutechess/cutechess-1.3.1-r2.ebuild b/games-board/cutechess/cutechess-1.3.1-r2.ebuild index c5149829c7c5..e3d77c3f90d5 100644 --- a/games-board/cutechess/cutechess-1.3.1-r2.ebuild +++ b/games-board/cutechess/cutechess-1.3.1-r2.ebuild @@ -23,6 +23,10 @@ RDEPEND=" " DEPEND="${RDEPEND}" +PATCHES=( + "${FILESDIR}/${P}-bool.patch" +) + src_configure() { local mycmakeargs=( -DWITH_TESTS=$(usex test) diff --git a/games-board/cutechess/files/cutechess-1.3.1-bool.patch b/games-board/cutechess/files/cutechess-1.3.1-bool.patch new file mode 100644 index 000000000000..7b592d80448e --- /dev/null +++ b/games-board/cutechess/files/cutechess-1.3.1-bool.patch @@ -0,0 +1,13 @@ +https://github.com/cutechess/cutechess/pull/831 +https://bugs.gentoo.org/944259 + +--- a/projects/lib/3rdparty/fathom/src/tbconfig.h ++++ b/projects/lib/3rdparty/fathom/src/tbconfig.h +@@ -66,7 +66,6 @@ + * Define TB_NO_STDBOOL if you do not want to use <stdbool.h> or it is not + * available or unnecessary (e.g. C++). + */ +-#define TB_NO_STDBOOL + + /* + * Define TB_NO_THREADS if your program is not multi-threaded.
