From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1610727-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 6F196158041
	for <garchives@archives.gentoo.org>; Thu, 14 Mar 2024 02:25:48 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 31284E29C5;
	Thu, 14 Mar 2024 02:25:47 +0000 (UTC)
Received: from smtp.gentoo.org (dev.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 15024E29C6
	for <gentoo-commits@lists.gentoo.org>; Thu, 14 Mar 2024 02:25:47 +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 5F12A33BEE9
	for <gentoo-commits@lists.gentoo.org>; Thu, 14 Mar 2024 02:25:46 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 58E6F151B
	for <gentoo-commits@lists.gentoo.org>; Thu, 14 Mar 2024 02:25:43 +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: <1710381590.6868af9827c322f43d45520f3c6809e56c0fa064.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/rdesktop/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-misc/rdesktop/rdesktop-1.9.0-r4.ebuild
X-VCS-Directories: net-misc/rdesktop/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 6868af9827c322f43d45520f3c6809e56c0fa064
X-VCS-Branch: master
Date: Thu, 14 Mar 2024 02:25:43 +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: 784c4151-efd3-4686-9e5d-d04b5b224f33
X-Archives-Hash: ae290790f26102edd6b1714f2ea94302

commit:     6868af9827c322f43d45520f3c6809e56c0fa064
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Thu Mar 14 01:43:05 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 14 01:59:50 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6868af98

net-misc/rdesktop: mark as LTO-unsafe

Upstream is "in need of maintainers". Bug filed upstream but no real
hope of it being fixed.

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

 net-misc/rdesktop/rdesktop-1.9.0-r4.ebuild | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/net-misc/rdesktop/rdesktop-1.9.0-r4.ebuild b/net-misc/rdesktop/rdesktop-1.9.0-r4.ebuild
index 5e638db8e2ec..00c0ed9fec58 100644
--- a/net-misc/rdesktop/rdesktop-1.9.0-r4.ebuild
+++ b/net-misc/rdesktop/rdesktop-1.9.0-r4.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit autotools
+inherit autotools flag-o-matic
 
 DESCRIPTION="A Remote Desktop Protocol Client"
 HOMEPAGE="http://www.rdesktop.org/"
@@ -59,6 +59,13 @@ src_prepare() {
 }
 
 src_configure() {
+	# -Werror=lto-type-mismatch
+	# https://bugs.gentoo.org/861824
+	# https://github.com/rdesktop/rdesktop/issues/414
+	#
+	# Upstream is "in need of new maintainers" so it may never be fixed.
+	filter-lto
+
 	if use pulseaudio; then
 		sound_conf="--with-sound=pulse"
 	elif use ao; then