From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1629167-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 BBD0C1582E8
	for <garchives@archives.gentoo.org>; Thu,  9 May 2024 01:31:33 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id EA1B72BC0A9;
	Thu,  9 May 2024 01:31:32 +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 89ABA2BC0A9
	for <gentoo-commits@lists.gentoo.org>; Thu,  9 May 2024 01:31:32 +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 A2AF83431DF
	for <gentoo-commits@lists.gentoo.org>; Thu,  9 May 2024 01:31:31 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 9593B1A47
	for <gentoo-commits@lists.gentoo.org>; Thu,  9 May 2024 01:31:28 +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: <1715218200.e9d9fffdbcbf521f680dc64851b055c50ac70fd8.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-apps/kfloppy/
X-VCS-Repository: repo/gentoo
X-VCS-Files: kde-apps/kfloppy/kfloppy-23.04.3.ebuild
X-VCS-Directories: kde-apps/kfloppy/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: e9d9fffdbcbf521f680dc64851b055c50ac70fd8
X-VCS-Branch: master
Date: Thu,  9 May 2024 01:31:28 +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: 2f99b8ab-407a-4cee-8685-872f992ff9a5
X-Archives-Hash: ec246b2e345ba8d379c070a015bd8d53

commit:     e9d9fffdbcbf521f680dc64851b055c50ac70fd8
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Thu May  9 01:26:46 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu May  9 01:30:00 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9d9fffd

kde-apps/kfloppy: mark as LTO-unsafe

I submitted an upstream patch to fix it, but not importing it here since
it isn't merged yet.

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

 kde-apps/kfloppy/kfloppy-23.04.3.ebuild | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/kde-apps/kfloppy/kfloppy-23.04.3.ebuild b/kde-apps/kfloppy/kfloppy-23.04.3.ebuild
index 1e21867924f0..548e83df0664 100644
--- a/kde-apps/kfloppy/kfloppy-23.04.3.ebuild
+++ b/kde-apps/kfloppy/kfloppy-23.04.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -6,7 +6,7 @@ EAPI=8
 ECM_HANDBOOK="forceoptional"
 KFMIN=5.106.0
 QTMIN=5.15.9
-inherit ecm gear.kde.org
+inherit ecm flag-o-matic gear.kde.org
 
 DESCRIPTION="Straightforward graphical means to format 3.5\" and 5.25\" floppy disks"
 HOMEPAGE="https://apps.kde.org/kfloppy/"
@@ -30,3 +30,12 @@ DEPEND="
 	>=kde-frameworks/kxmlgui-${KFMIN}:5
 "
 RDEPEND="${DEPEND}"
+
+src_configure() {
+	# -Werror=odr
+	# https://bugs.gentoo.org/926320
+	# https://invent.kde.org/utilities/kfloppy/-/merge_requests/8
+	filter-lto
+
+	cmake_src_configure
+}