commit:     52b121d6412451c52fac5cc2f3e9f2d0d61e0a81
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Mon Apr 15 23:42:19 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr 26 12:48:50 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52b121d6

net-news/yydecode: mark as LTO-unsafe

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

 net-news/yydecode/yydecode-0.2.10-r2.ebuild | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/net-news/yydecode/yydecode-0.2.10-r2.ebuild 
b/net-news/yydecode/yydecode-0.2.10-r2.ebuild
index c43ca13d7e4e..eeaa0f00b76c 100644
--- a/net-news/yydecode/yydecode-0.2.10-r2.ebuild
+++ b/net-news/yydecode/yydecode-0.2.10-r2.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
+inherit flag-o-matic
+
 DESCRIPTION="A decoder for yENC format, popular on Usenet"
 HOMEPAGE="http://yydecode.sourceforge.net/";
 SRC_URI="mirror://sourceforge/yydecode/${P}.tar.gz"
@@ -19,3 +21,12 @@ src_prepare() {
        default
        sed -e "s/t3.sh//" -e "s/t7.sh//" -i checks/Makefile.in || die
 }
+
+src_configure() {
+       # -Werror=lto-type-mismatch
+       # https://bugs.gentoo.org/898078
+       #
+       # Upstream has been dead since 2003. No bug reported.
+       filter-lto
+       default
+}

Reply via email to