commit:     cebf7ed59e24ea1b6aa9b1d9bd7dee3d72ee56fb
Author:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 15 13:27:56 2025 +0000
Commit:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
CommitDate: Sun Jun 15 13:29:00 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cebf7ed5

media-radio/unixcw: Add filter-lto to forbid link time optimization

Closes: https://bugs.gentoo.org/957446
Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org>

 media-radio/unixcw/{unixcw-3.6.1-r1.ebuild => unixcw-3.6.1-r2.ebuild} | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/media-radio/unixcw/unixcw-3.6.1-r1.ebuild 
b/media-radio/unixcw/unixcw-3.6.1-r2.ebuild
similarity index 96%
rename from media-radio/unixcw/unixcw-3.6.1-r1.ebuild
rename to media-radio/unixcw/unixcw-3.6.1-r2.ebuild
index 07086900d052..6024e2349eec 100644
--- a/media-radio/unixcw/unixcw-3.6.1-r1.ebuild
+++ b/media-radio/unixcw/unixcw-3.6.1-r2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit autotools
+inherit autotools flag-o-matic
 
 DESCRIPTION="Collection of programs that fit together to form a morse code 
tutor program"
 HOMEPAGE="https://unixcw.sourceforge.net";
@@ -37,6 +37,8 @@ src_prepare() {
 }
 
 src_configure() {
+       # fails with -flto (see bug #957446)
+       filter-lto
        econf --libdir="${EPREFIX}/usr/$(get_libdir)" \
                $(use_enable pulseaudio ) \
                $(use_enable alsa ) \

Reply via email to