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

Reply via email to