From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1617585-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 644C9158041
	for <garchives@archives.gentoo.org>; Fri,  5 Apr 2024 01:21:56 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 93791E2A25;
	Fri,  5 Apr 2024 01:21:54 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.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))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 7AF14E2A25
	for <gentoo-commits@lists.gentoo.org>; Fri,  5 Apr 2024 01:21:54 +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))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 62E02343297
	for <gentoo-commits@lists.gentoo.org>; Fri,  5 Apr 2024 01:21:53 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id BD7E11684
	for <gentoo-commits@lists.gentoo.org>; Fri,  5 Apr 2024 01: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: <1712280053.01c2ae087f01037dc00680450185acb4444acad2.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/opencpn-plugin-iacfleet/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sci-geosciences/opencpn-plugin-iacfleet/opencpn-plugin-iacfleet-0.21.1.ebuild sci-geosciences/opencpn-plugin-iacfleet/opencpn-plugin-iacfleet-9999.ebuild
X-VCS-Directories: sci-geosciences/opencpn-plugin-iacfleet/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 01c2ae087f01037dc00680450185acb4444acad2
X-VCS-Branch: master
Date: Fri,  5 Apr 2024 01: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: 1ef2868e-7bbe-49d0-96b2-eac446b3e3a3
X-Archives-Hash: 1b3658a24f1bed24f2a8e799d6871e6c

commit:     01c2ae087f01037dc00680450185acb4444acad2
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Thu Apr  4 05:40:47 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr  5 01:20:53 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01c2ae08

sci-geosciences/opencpn-plugin-iacfleet: mark as LTO-unsafe, SA-unsafe

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

 .../opencpn-plugin-iacfleet-0.21.1.ebuild                    | 12 ++++++++++--
 .../opencpn-plugin-iacfleet-9999.ebuild                      | 12 ++++++++++--
 2 files changed, 20 insertions(+), 4 deletions(-)

diff --git a/sci-geosciences/opencpn-plugin-iacfleet/opencpn-plugin-iacfleet-0.21.1.ebuild b/sci-geosciences/opencpn-plugin-iacfleet/opencpn-plugin-iacfleet-0.21.1.ebuild
index dc971f1e4d94..0c40213181b3 100644
--- a/sci-geosciences/opencpn-plugin-iacfleet/opencpn-plugin-iacfleet-0.21.1.ebuild
+++ b/sci-geosciences/opencpn-plugin-iacfleet/opencpn-plugin-iacfleet-0.21.1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
 WX_GTK_VER="3.0-gtk3"
-inherit cmake wxwidgets
+inherit cmake flag-o-matic wxwidgets
 
 MY_PN="iacfleet_pi"
 if [[ ${PV} == *9999 ]] ; then
@@ -30,6 +30,14 @@ DEPEND="${RDEPEND}"
 BDEPEND="sys-devel/gettext"
 
 src_configure() {
+	# -Werror=strict-aliasing
+	# https://bugs.gentoo.org/927485
+	# https://github.com/nohal/iacfleet_pi/issues/30
+	#
+	# Do not trust with LTO either.
+	append-flags -fno-strict-aliasing
+	filter-lto
+
 	setup-wxwidgets unicode
 	cmake_src_configure
 }

diff --git a/sci-geosciences/opencpn-plugin-iacfleet/opencpn-plugin-iacfleet-9999.ebuild b/sci-geosciences/opencpn-plugin-iacfleet/opencpn-plugin-iacfleet-9999.ebuild
index dc971f1e4d94..0c40213181b3 100644
--- a/sci-geosciences/opencpn-plugin-iacfleet/opencpn-plugin-iacfleet-9999.ebuild
+++ b/sci-geosciences/opencpn-plugin-iacfleet/opencpn-plugin-iacfleet-9999.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
 WX_GTK_VER="3.0-gtk3"
-inherit cmake wxwidgets
+inherit cmake flag-o-matic wxwidgets
 
 MY_PN="iacfleet_pi"
 if [[ ${PV} == *9999 ]] ; then
@@ -30,6 +30,14 @@ DEPEND="${RDEPEND}"
 BDEPEND="sys-devel/gettext"
 
 src_configure() {
+	# -Werror=strict-aliasing
+	# https://bugs.gentoo.org/927485
+	# https://github.com/nohal/iacfleet_pi/issues/30
+	#
+	# Do not trust with LTO either.
+	append-flags -fno-strict-aliasing
+	filter-lto
+
 	setup-wxwidgets unicode
 	cmake_src_configure
 }