commit:     56c21df07b0c1c8ff6b606c2b4284dd62eaa0c23
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Mon Mar 18 01:17:21 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 18 05:30:00 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56c21df0

games-sports/bygfoot: mark as LTO-unsafe

Closes: https://bugs.gentoo.org/859232
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-sports/bygfoot/bygfoot-2.3.2-r1.ebuild | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/games-sports/bygfoot/bygfoot-2.3.2-r1.ebuild 
b/games-sports/bygfoot/bygfoot-2.3.2-r1.ebuild
index add177573fb6..d73d04ec60fe 100644
--- a/games-sports/bygfoot/bygfoot-2.3.2-r1.ebuild
+++ b/games-sports/bygfoot/bygfoot-2.3.2-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit desktop vcs-clean
+inherit desktop flag-o-matic vcs-clean
 
 DESCRIPTION="GTK+2 Soccer Management Game"
 HOMEPAGE="https://bygfoot.sourceforge.io/new/";
@@ -29,6 +29,14 @@ PATCHES=(
 )
 
 src_configure() {
+       # -Werror=lto-type-mismatch
+       # https://bugs.gentoo.org/859232
+       #
+       # Upstream sourceforge is inactive since 2021, and even that was a java 
port.
+       # The gtk / C project was last touched in 2014. Even if upstream was 
still
+       # around, it does not seem worth discussing the production C version.
+       filter-lto
+
        econf --disable-gstreamer
 }
 

Reply via email to