summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/gsmc/gsmc-1.1-r3.ebuild14
1 files 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