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

Following Fedora approach.

Closes: https://bugs.gentoo.org/941236
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
This commit is contained in:
Pacho Ramos 2025-06-28 20:16:06 +02:00
parent d6db8c8478
commit e11629fc5a
No known key found for this signature in database
GPG Key ID: 7CB10C207FC07DBC

View File

@ -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"