From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1616573-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 7DDB8158004
	for <garchives@archives.gentoo.org>; Tue,  2 Apr 2024 09:59:07 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id B239FE2AA1;
	Tue,  2 Apr 2024 09:59:06 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.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) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 9C932E2AA1
	for <gentoo-commits@lists.gentoo.org>; Tue,  2 Apr 2024 09:59: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))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id D70DC343168
	for <gentoo-commits@lists.gentoo.org>; Tue,  2 Apr 2024 09:59:05 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 4B9D9957
	for <gentoo-commits@lists.gentoo.org>; Tue,  2 Apr 2024 09:59:04 +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: <1712051909.e737eb95f45e28809e4b5db00c7ba0b9d92b51c0.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-misc/kdeconnect/
X-VCS-Repository: repo/gentoo
X-VCS-Files: kde-misc/kdeconnect/kdeconnect-23.08.5-r1.ebuild kde-misc/kdeconnect/kdeconnect-24.02.1.ebuild
X-VCS-Directories: kde-misc/kdeconnect/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: e737eb95f45e28809e4b5db00c7ba0b9d92b51c0
X-VCS-Branch: master
Date: Tue,  2 Apr 2024 09:59:04 +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: ecfd23fa-5067-4030-8434-f911c3bbf9f2
X-Archives-Hash: 858a4254e1c5caa4596febefc84922a0

commit:     e737eb95f45e28809e4b5db00c7ba0b9d92b51c0
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 09:58:29 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e737eb95

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-23.08.5-r1.ebuild | 7 ++++++-
 kde-misc/kdeconnect/kdeconnect-24.02.1.ebuild    | 7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/kde-misc/kdeconnect/kdeconnect-23.08.5-r1.ebuild b/kde-misc/kdeconnect/kdeconnect-23.08.5-r1.ebuild
index 8760d6f885a0..3df6ce5f4a2f 100644
--- a/kde-misc/kdeconnect/kdeconnect-23.08.5-r1.ebuild
+++ b/kde-misc/kdeconnect/kdeconnect-23.08.5-r1.ebuild
@@ -9,7 +9,7 @@ KDE_ORG_NAME="${PN}-kde"
 KDE_SELINUX_MODULE="${PN}"
 KFMIN=5.106.0
 QTMIN=5.15.9
-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/"
@@ -83,6 +83,11 @@ BDEPEND="
 PATCHES=( "${FILESDIR}/${PN}-21.07.80-revert-disable-kpeople.patch" )
 
 src_configure() {
+	# -Werror=lto-type-mismatch
+	# https://bugs.gentoo.org/921648
+	# https://bugs.kde.org/show_bug.cgi?id=480522
+	filter-lto
+
 	local mycmakeargs=(
 		-DBLUETOOTH_ENABLED=$(usex bluetooth)
 		$(cmake_use_find_package pulseaudio KF5PulseAudioQt)

diff --git a/kde-misc/kdeconnect/kdeconnect-24.02.1.ebuild b/kde-misc/kdeconnect/kdeconnect-24.02.1.ebuild
index 29cd93241d27..512d9c5718fe 100644
--- a/kde-misc/kdeconnect/kdeconnect-24.02.1.ebuild
+++ b/kde-misc/kdeconnect/kdeconnect-24.02.1.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)