commit:     e53035ee6d462eac8c9f922830359142e808a20f
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 10 13:07:22 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Mar 10 13:15:33 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e53035ee

games-emulation/pcsx2: fix build with clang:20

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-emulation/pcsx2/pcsx2-2.2.0-r1.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/games-emulation/pcsx2/pcsx2-2.2.0-r1.ebuild 
b/games-emulation/pcsx2/pcsx2-2.2.0-r1.ebuild
index 35d596e13f4d..181d5165a2d7 100644
--- a/games-emulation/pcsx2/pcsx2-2.2.0-r1.ebuild
+++ b/games-emulation/pcsx2/pcsx2-2.2.0-r1.ebuild
@@ -113,6 +113,10 @@ src_configure() {
        # to remove if bundled lzma code is updated like 7zip did (bug #935298)
        use elibc_musl && append-cppflags -DZ7_AFFINITY_DISABLE
 
+       # workaround for clang:20, backporting to old fmt would be complicated
+       # https://github.com/fmtlib/fmt/issues/4177 (probably?)
+       append-cppflags -DFMT_CONSTEVAL=
+
        local mycmakeargs=(
                -DBUILD_SHARED_LIBS=no
                -DDISABLE_ADVANCE_SIMD=yes

Reply via email to