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 2CEA9158041 for ; Tue, 19 Mar 2024 06:09:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A4E0AE29B8; Tue, 19 Mar 2024 06:09:05 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 889BBE29B8 for ; Tue, 19 Mar 2024 06:09:05 +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 ACDB03408DD for ; Tue, 19 Mar 2024 06:09:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E1DF1156D for ; Tue, 19 Mar 2024 06:09:02 +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: <1710828355.cc04e9b38ec9b7b714f6f5d33e3c6f262d38ddea.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-action/supertuxkart/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-action/supertuxkart/supertuxkart-1.3.ebuild games-action/supertuxkart/supertuxkart-1.4-r1.ebuild X-VCS-Directories: games-action/supertuxkart/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: cc04e9b38ec9b7b714f6f5d33e3c6f262d38ddea X-VCS-Branch: master Date: Tue, 19 Mar 2024 06:09:02 +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: 22e80072-2bd9-46c4-8714-51de7e7de318 X-Archives-Hash: 58c4d714c25d318138bf953052272d85 commit: cc04e9b38ec9b7b714f6f5d33e3c6f262d38ddea Author: Eli Schwartz gmail com> AuthorDate: Tue Mar 19 05:54:38 2024 +0000 Commit: Sam James gentoo org> CommitDate: Tue Mar 19 06:05:55 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc04e9b3 games-action/supertuxkart: mark as LTO-unsafe, strict-aliasing unsafe Includes bundled sci-physics/bullet which has its own bug... Closes: https://bugs.gentoo.org/858521 Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Sam James gentoo.org> games-action/supertuxkart/supertuxkart-1.3.ebuild | 15 +++++++++++++-- games-action/supertuxkart/supertuxkart-1.4-r1.ebuild | 15 +++++++++++++-- 2 files changed, 26 insertions(+), 4 deletions(-) diff --git a/games-action/supertuxkart/supertuxkart-1.3.ebuild b/games-action/supertuxkart/supertuxkart-1.3.ebuild index 54504fdfec32..d3a6aa690718 100644 --- a/games-action/supertuxkart/supertuxkart-1.3.ebuild +++ b/games-action/supertuxkart/supertuxkart-1.3.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 cmake desktop xdg +inherit cmake desktop flag-o-matic xdg MY_P="SuperTuxKart-${PV}-src" DESCRIPTION="A kart racing game starring Tux, the linux penguin (TuxKart fork)" @@ -63,6 +63,17 @@ src_prepare() { } src_configure() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/858521 + # https://github.com/supertuxkart/stk-code/issues/5035 + # + # The issue is bundled code from sci-physics/bullet which is unlikely to + # be debundled. + # + # Do not trust with LTO either. + append-flags -fno-strict-aliasing + filter-lto + local mycmakeargs=( -DUSE_SQLITE3=$(usex sqlite) -DUSE_SYSTEM_ANGELSCRIPT=ON diff --git a/games-action/supertuxkart/supertuxkart-1.4-r1.ebuild b/games-action/supertuxkart/supertuxkart-1.4-r1.ebuild index 7b2fcde8f196..85252331bd59 100644 --- a/games-action/supertuxkart/supertuxkart-1.4-r1.ebuild +++ b/games-action/supertuxkart/supertuxkart-1.4-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit cmake desktop xdg +inherit cmake desktop flag-o-matic xdg MY_P="SuperTuxKart-${PV}-src" DESCRIPTION="A kart racing game starring Tux, the linux penguin (TuxKart fork)" @@ -59,6 +59,17 @@ PATCHES=( ) src_configure() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/858521 + # https://github.com/supertuxkart/stk-code/issues/5035 + # + # The issue is bundled code from sci-physics/bullet which is unlikely to + # be debundled. + # + # Do not trust with LTO either. + append-flags -fno-strict-aliasing + filter-lto + local mycmakeargs=( -DUSE_SQLITE3=$(usex sqlite) -DUSE_SYSTEM_ANGELSCRIPT=ON