From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E13AB158041 for ; Wed, 6 Mar 2024 03:37:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 07CE5E29F0; Wed, 6 Mar 2024 03:37:42 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D8ED0E29F0 for ; Wed, 6 Mar 2024 03:37:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B9292343011 for ; Wed, 6 Mar 2024 03:37:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E91F114EC for ; Wed, 6 Mar 2024 03:37:38 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1709696178.214dbaa6ba17af414093d38e2310b48a0e01967e.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-fps/rott/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-fps/rott/rott-1.1.2-r1.ebuild X-VCS-Directories: games-fps/rott/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 214dbaa6ba17af414093d38e2310b48a0e01967e X-VCS-Branch: master Date: Wed, 6 Mar 2024 03:37:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5ec07917-d4fa-4497-b267-3569b201224d X-Archives-Hash: e998bd3305e85f89d81196c1937a2a87 commit: 214dbaa6ba17af414093d38e2310b48a0e01967e Author: Eli Schwartz gmail com> AuthorDate: Tue Mar 5 23:05:30 2024 +0000 Commit: Sam James gentoo 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 gmail.com> Signed-off-by: Sam James 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}/\\\"" \