commit:     e11629fc5ad92d4624a5e1e41de038581f6265b9
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 28 18:16:06 2025 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat Jun 28 18:16:06 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e11629fc

games-sports/trophy: Fix compilation with gcc-15

Following Fedora approach.

Closes: https://bugs.gentoo.org/941236
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 games-sports/trophy/trophy-2.0.4-r1.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/games-sports/trophy/trophy-2.0.4-r1.ebuild 
b/games-sports/trophy/trophy-2.0.4-r1.ebuild
index 7f42cde802b6..a26ffc755637 100644
--- a/games-sports/trophy/trophy-2.0.4-r1.ebuild
+++ b/games-sports/trophy/trophy-2.0.4-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-inherit desktop xdg
+inherit desktop flag-o-matic xdg
 
 DESCRIPTION="2D Racing Game"
 HOMEPAGE="https://trophy.sourceforge.io/";
@@ -17,6 +17,11 @@ RDEPEND="dev-games/clanlib:0.8[opengl]"
 DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"
 
+src_configure() {
+       append-cxxflags -Wno-template-body #941236
+       default
+}
+
 src_install(){
        default
        doicon -s 256 "${DISTDIR}/${PN}.png"

Reply via email to