Diff gsmc-1.1-r2 with a gsmc-1.1-r3
/usr/portage/sci-electronics/gsmc/gsmc-1.1-r3.ebuild 2024-07-02 13:51:49.293851592 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2021 Gentoo Authors |
|
1 |
# Copyright 1999-2024 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
inherit autotools |
|
6 |
inherit autotools flag-o-matic |
|
7 | 7 | |
8 | 8 |
DESCRIPTION="A GTK program for doing Smith Chart calculations" |
9 | 9 |
HOMEPAGE="https://www.qsl.net/ik5nax/" |
... | ... | |
22 | 22 | |
23 | 23 |
PATCHES=( |
24 | 24 |
"${FILESDIR}"/${P}-autotools.patch |
25 |
"${FILESDIR}"/${P}-clang16-build-fix.patch |
|
25 | 26 |
) |
26 | 27 | |
27 | 28 |
src_prepare() { |
... | ... | |
29 | 30 |
eautoreconf |
30 | 31 |
} |
31 | 32 | |
33 |
src_configure() { |
|
34 |
# -Werror=lto-type-mismatch |
|
35 |
# https://bugs.gentoo.org/862456 |
|
36 |
# |
|
37 |
# Upstream software dates to 2004 with no sign of activity. |
|
38 |
filter-lto |
|
39 | ||
40 |
default |
|
41 |
} |
|
42 | ||
32 | 43 |
src_install() { |
33 | 44 |
emake DESTDIR="${D}" install |
34 | 45 |
dodoc AUTHORS NEWS README TODO |