From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1610781-garchives=archives.gentoo.org@lists.gentoo.org>
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 38AF4158041
	for <garchives@archives.gentoo.org>; Thu, 14 Mar 2024 05:21:55 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 1A9D2E29BE;
	Thu, 14 Mar 2024 05:21:54 +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) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id F2431E29BE
	for <gentoo-commits@lists.gentoo.org>; Thu, 14 Mar 2024 05:21:53 +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 B637233BE12
	for <gentoo-commits@lists.gentoo.org>; Thu, 14 Mar 2024 05:21:52 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id F24747E7
	for <gentoo-commits@lists.gentoo.org>; Thu, 14 Mar 2024 05:21:50 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
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" <sam@gentoo.org>
Message-ID: <1710393671.c8f56e7d9f586ac079f8433998676827f4781e3c.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: games-engines/gargoyle/
X-VCS-Repository: repo/gentoo
X-VCS-Files: games-engines/gargoyle/gargoyle-2019.1.1.ebuild
X-VCS-Directories: games-engines/gargoyle/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: c8f56e7d9f586ac079f8433998676827f4781e3c
X-VCS-Branch: master
Date: Thu, 14 Mar 2024 05:21:50 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: e0874856-1ef5-4d4c-9b45-62465ebb7592
X-Archives-Hash: e70d953334f1d84e22609e1f9b93fb94

commit:     c8f56e7d9f586ac079f8433998676827f4781e3c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 14 03:28:24 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 14 05:21:11 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8f56e7d

games-engines/gargoyle: filter LTO, no-SA

Aliasing violations in bundled library. I get the impression upstream isn't
interested in fixing these.

Closes: https://bugs.gentoo.org/858716
Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-engines/gargoyle/gargoyle-2019.1.1.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/games-engines/gargoyle/gargoyle-2019.1.1.ebuild b/games-engines/gargoyle/gargoyle-2019.1.1.ebuild
index 167f28407813..e37df39de5b6 100644
--- a/games-engines/gargoyle/gargoyle-2019.1.1.ebuild
+++ b/games-engines/gargoyle/gargoyle-2019.1.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # Regarding licenses: libgarglk is licensed under the GPLv2. Bundled
@@ -64,6 +64,10 @@ src_prepare() {
 }
 
 src_compile() {
+	# Aliasing violations in bundled glulxe library (bug #858716)
+	append-flags -fno-strict-aliasing
+	filter-lto
+
 	# build system messes up flags and toolchain completely
 	# append flags to compiler commands to have consistent behavior
 	jam \