public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-fps/rott/
Date: Wed,  6 Mar 2024 03:37:38 +0000 (UTC)	[thread overview]
Message-ID: <1709696178.214dbaa6ba17af414093d38e2310b48a0e01967e.sam@gentoo> (raw)

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	other threads:[~2024-03-06  3:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-06  3:37 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-04-02  9:03 [gentoo-commits] repo/gentoo:master commit in: games-fps/rott/ James Le Cuirot
2017-02-14 23:41 Austin English
2015-12-07 10:02 Agostino Sarubbo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1709696178.214dbaa6ba17af414093d38e2310b48a0e01967e.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox