From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1616575-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 92E62158041
	for <garchives@archives.gentoo.org>; Tue,  2 Apr 2024 10:01:07 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id B7D0CE299F;
	Tue,  2 Apr 2024 10:01:06 +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 94689E299F
	for <gentoo-commits@lists.gentoo.org>; Tue,  2 Apr 2024 10:01:06 +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 9665733FD3F
	for <gentoo-commits@lists.gentoo.org>; Tue,  2 Apr 2024 10:01:05 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id C5C88135F
	for <gentoo-commits@lists.gentoo.org>; Tue,  2 Apr 2024 10:01:03 +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: <1712052059.5caae9d28ccda985807bb83ed1f9a19516bcceed.sam@gentoo>
Subject: [gentoo-commits] proj/kde:master commit in: kde-misc/kdeconnect/
X-VCS-Repository: proj/kde
X-VCS-Files: kde-misc/kdeconnect/kdeconnect-24.02.49.9999.ebuild kde-misc/kdeconnect/kdeconnect-9999.ebuild
X-VCS-Directories: kde-misc/kdeconnect/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 5caae9d28ccda985807bb83ed1f9a19516bcceed
X-VCS-Branch: master
Date: Tue,  2 Apr 2024 10:01:03 +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: 4f012758-46cd-4ee0-8000-78f93b87410f
X-Archives-Hash: 07461730ccb71f99b203c0ab1baef443

commit:     5caae9d28ccda985807bb83ed1f9a19516bcceed
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Tue Apr  2 05:38:57 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr  2 10:00:59 2024 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=5caae9d2

kde-misc/kdeconnect: mark as LTO-unsafe

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

 kde-misc/kdeconnect/kdeconnect-24.02.49.9999.ebuild | 7 ++++++-
 kde-misc/kdeconnect/kdeconnect-9999.ebuild          | 7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/kde-misc/kdeconnect/kdeconnect-24.02.49.9999.ebuild b/kde-misc/kdeconnect/kdeconnect-24.02.49.9999.ebuild
index abb996b68c..157bafea57 100644
--- a/kde-misc/kdeconnect/kdeconnect-24.02.49.9999.ebuild
+++ b/kde-misc/kdeconnect/kdeconnect-24.02.49.9999.ebuild
@@ -9,7 +9,7 @@ KDE_ORG_NAME="${PN}-kde"
 KDE_SELINUX_MODULE="${PN}"
 KFMIN=6.0.0
 QTMIN=6.6.2
-inherit ecm gear.kde.org
+inherit ecm flag-o-matic gear.kde.org
 
 DESCRIPTION="Adds communication between KDE Plasma and your smartphone"
 HOMEPAGE="https://kdeconnect.kde.org/ https://apps.kde.org/kdeconnect/"
@@ -81,6 +81,11 @@ BDEPEND="
 "
 
 src_configure() {
+	# -Werror=lto-type-mismatch
+	# https://bugs.gentoo.org/921648
+	# https://bugs.kde.org/show_bug.cgi?id=480522
+	filter-lto
+
 	local mycmakeargs=(
 		-DMDNS_ENABLED=$(usex zeroconf)
 		-DBLUETOOTH_ENABLED=$(usex bluetooth)

diff --git a/kde-misc/kdeconnect/kdeconnect-9999.ebuild b/kde-misc/kdeconnect/kdeconnect-9999.ebuild
index b63e69c6c2..c494d37efb 100644
--- a/kde-misc/kdeconnect/kdeconnect-9999.ebuild
+++ b/kde-misc/kdeconnect/kdeconnect-9999.ebuild
@@ -9,7 +9,7 @@ KDE_ORG_NAME="${PN}-kde"
 KDE_SELINUX_MODULE="${PN}"
 KFMIN=6.0.0
 QTMIN=6.6.2
-inherit ecm gear.kde.org
+inherit ecm flag-o-matic gear.kde.org
 
 DESCRIPTION="Adds communication between KDE Plasma and your smartphone"
 HOMEPAGE="https://kdeconnect.kde.org/ https://apps.kde.org/kdeconnect/"
@@ -82,6 +82,11 @@ BDEPEND="
 "
 
 src_configure() {
+	# -Werror=lto-type-mismatch
+	# https://bugs.gentoo.org/921648
+	# https://bugs.kde.org/show_bug.cgi?id=480522
+	filter-lto
+
 	local mycmakeargs=(
 		-DMDNS_ENABLED=$(usex zeroconf)
 		-DBLUETOOTH_ENABLED=$(usex bluetooth)