commit:     214dbaa6ba17af414093d38e2310b48a0e01967e
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Tue Mar  5 23:05:30 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar  6 03:36:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=214dbaa6

games-fps/rott: mark as LTO-unsafe

The upstream website is being clever and suggesting that distros are the
real upstreams, and that releases happen by, every couple of years,
collecting all the patches distros have applied and turning that into a
release.

Hopeless. No bug reporting mechanism.

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

 games-fps/rott/rott-1.1.2-r1.ebuild | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

diff --git a/games-fps/rott/rott-1.1.2-r1.ebuild 
b/games-fps/rott/rott-1.1.2-r1.ebuild
index a11a0d2074c1..7b80302df3e4 100644
--- a/games-fps/rott/rott-1.1.2-r1.ebuild
+++ b/games-fps/rott/rott-1.1.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=8
 
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="Rise of the Triad for Linux!"
 HOMEPAGE="https://www.icculus.org/rott/";
@@ -33,6 +33,18 @@ src_prepare() {
 }
 
 src_compile() {
+       # -Werror=lto-type-mismatch
+       # https://bugs.gentoo.org/858758
+       #
+       # The upstream homepage notes that you should send bug reports and 
feature
+       # requests to your distro. Rationale: "1.1.2 contains all the debian
+       # patches from the previous 2.5 years" and "1.1.1. contains all the 
debian
+       # and fedora patches that accumulated during the past year."
+       #
+       # This is an interesting collaborative model that unfortunately means 
there
+       # will be NO bug report.
+       filter-lto
+
        tc-export CC
        emake -j1 \
                EXTRACFLAGS="${CFLAGS} -DDATADIR=\\\"/usr/share/${PN}/\\\"" \

Reply via email to