From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1611962-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 55C08158041
	for <garchives@archives.gentoo.org>; Sun, 17 Mar 2024 06:34:48 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 1B562E29E4;
	Sun, 17 Mar 2024 06:34:47 +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 E460DE29E4
	for <gentoo-commits@lists.gentoo.org>; Sun, 17 Mar 2024 06:34:46 +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 E6DF734027D
	for <gentoo-commits@lists.gentoo.org>; Sun, 17 Mar 2024 06:34:45 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 5A2941523
	for <gentoo-commits@lists.gentoo.org>; Sun, 17 Mar 2024 06:34:44 +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: <1710657268.8dce0931582160b74deff4e2aa407f33fa712f24.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-scheme/ypsilon/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-scheme/ypsilon/ypsilon-0.9.6_p3-r2.ebuild
X-VCS-Directories: dev-scheme/ypsilon/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 8dce0931582160b74deff4e2aa407f33fa712f24
X-VCS-Branch: master
Date: Sun, 17 Mar 2024 06:34:44 +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: 104cdb80-3c57-4b8c-b9c0-3baef43c9cd8
X-Archives-Hash: c242311e8b092ec481408351ebd519ac

commit:     8dce0931582160b74deff4e2aa407f33fa712f24
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Sun Mar 17 05:39:12 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 17 06:34:28 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dce0931

dev-scheme/ypsilon: mark as LTO-unsafe, strict-aliasing unsafe

If someone cares about this ancient 2008 package, there's a new 2.0.8
version from 2022 which may or may not have fixed the issue. It's a
non-trivial update and I don't do scheme.

Do enough to unblock the LTO tracker.

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

 dev-scheme/ypsilon/ypsilon-0.9.6_p3-r2.ebuild | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/dev-scheme/ypsilon/ypsilon-0.9.6_p3-r2.ebuild b/dev-scheme/ypsilon/ypsilon-0.9.6_p3-r2.ebuild
index 5dea3a7bde37..75550544e519 100644
--- a/dev-scheme/ypsilon/ypsilon-0.9.6_p3-r2.ebuild
+++ b/dev-scheme/ypsilon/ypsilon-0.9.6_p3-r2.ebuild
@@ -31,6 +31,16 @@ src_prepare() {
 	append-flags -pthread
 	# fix build with >=sys-devel/gcc-11, bug #787866
 	sed -i "/^CPPFLAGS/s/=/= -DNO_TLS/" Makefile
+
+	# -Werror=strict-aliasing
+	# https://bugs.gentoo.org/858257
+	#
+	# There is an upstream update to 2.0.8 (lotta new versions!) but it changes
+	# way too much to trivially update. The issue may or may not be fixed.
+	# Before multiple other things bombed out, the erroring source file
+	# *seemed* to compile ok.
+	append-flags -fno-strict-aliasing
+	filter-lto
 }
 
 src_compile() {