commit:     8b035ee2a03df85e58a5b61d318ecd99bde83e89
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Tue Mar 12 01:45:36 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar 12 02:24:47 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b035ee2

games-sports/foobillard: mark as LTO-unsafe

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

 games-sports/foobillard/foobillard-3.0a-r1.ebuild | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/games-sports/foobillard/foobillard-3.0a-r1.ebuild 
b/games-sports/foobillard/foobillard-3.0a-r1.ebuild
index ad8a7bd2411d..3cb4c991c6c5 100644
--- a/games-sports/foobillard/foobillard-3.0a-r1.ebuild
+++ b/games-sports/foobillard/foobillard-3.0a-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -46,6 +46,12 @@ src_prepare() {
 }
 
 src_configure() {
+       # -Werror=lto-type-mismatch
+       # https://bugs.gentoo.org/859235
+       #
+       # Upstream is sourceforge, and dead since 2010. Not reported upstream.
+       filter-lto
+
        use video_cards_nvidia && append-ldflags 
-L/usr/$(get_libdir)/opengl/nvidia/lib
        econf \
                --enable-sound \

Reply via email to