commit:     1865b28c2a78c25d81aca07fd7def4680b07dc70
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Thu Mar 21 05:04:12 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 21 05:57:39 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1865b28c

sci-electronics/gsmc: mark as LTO-unsafe

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

 sci-electronics/gsmc/gsmc-1.1-r3.ebuild | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/sci-electronics/gsmc/gsmc-1.1-r3.ebuild 
b/sci-electronics/gsmc/gsmc-1.1-r3.ebuild
index ebd74cd54aa1..7abf1fbc2832 100644
--- a/sci-electronics/gsmc/gsmc-1.1-r3.ebuild
+++ b/sci-electronics/gsmc/gsmc-1.1-r3.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 GTK program for doing Smith Chart calculations"
 HOMEPAGE="https://www.qsl.net/ik5nax/";
@@ -30,6 +30,16 @@ src_prepare() {
        eautoreconf
 }
 
+src_configure() {
+       # -Werror=lto-type-mismatch
+       # https://bugs.gentoo.org/862456
+       #
+       # Upstream software dates to 2004 with no sign of activity.
+       filter-lto
+
+       default
+}
+
 src_install() {
        emake DESTDIR="${D}" install
        dodoc AUTHORS NEWS README TODO

Reply via email to