diff options
author | Sam James <sam@gentoo.org> | 2024-03-15 06:40:03 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-03-15 06:46:14 +0000 |
commit | 19ca4b64661c42325c76e3bf01641b3163361e75 (patch) | |
tree | a4502006d212252896fa5129934fb96dc5a4f003 /sys-apps | |
parent | sys-apps/ethq: drop 0.5.0 (diff) | |
download | gentoo-19ca4b64661c42325c76e3bf01641b3163361e75.tar.gz gentoo-19ca4b64661c42325c76e3bf01641b3163361e75.tar.bz2 gentoo-19ca4b64661c42325c76e3bf01641b3163361e75.zip |
sys-apps/ethq: filter LTO
Horribly broken, already reported upstream by RH.
Closes: https://bugs.gentoo.org/879893
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/ethq/ethq-0.6.1.ebuild | 11 | ||||
-rw-r--r-- | sys-apps/ethq/ethq-9999.ebuild | 12 |
2 files changed, 19 insertions, 4 deletions
diff --git a/sys-apps/ethq/ethq-0.6.1.ebuild b/sys-apps/ethq/ethq-0.6.1.ebuild index 172f1ef054f7..9165d5a82da5 100644 --- a/sys-apps/ethq/ethq-0.6.1.ebuild +++ b/sys-apps/ethq/ethq-0.6.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -6,7 +6,7 @@ EAPI=7 MY_PV=${PV//./_} MY_P=${PN}-${MY_PV} -inherit toolchain-funcs +inherit flag-o-matic toolchain-funcs DESCRIPTION="Ethernet NIC Queue stats viewer" HOMEPAGE="https://github.com/isc-projects/ethq" @@ -37,6 +37,13 @@ src_prepare() { fi } +src_configure() { + # https://github.com/isc-projects/ethq/issues/30 (bug #879893) + filter-lto + + default +} + src_compile() { # override for ncurses[tinfo] emake CXX="$(tc-getCXX)" LIBS_CURSES="$($(tc-getPKG_CONFIG) --libs ncurses)" diff --git a/sys-apps/ethq/ethq-9999.ebuild b/sys-apps/ethq/ethq-9999.ebuild index 11b6f2389400..521424c89c38 100644 --- a/sys-apps/ethq/ethq-9999.ebuild +++ b/sys-apps/ethq/ethq-9999.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 EGIT_REPO_URI="https://github.com/isc-projects/${PN}.git" -inherit git-r3 toolchain-funcs +inherit git-r3 flag-o-matic toolchain-funcs DESCRIPTION="Ethernet NIC Queue stats viewer" HOMEPAGE="https://github.com/isc-projects/ethq" @@ -35,6 +35,14 @@ src_prepare() { fi } + +src_configure() { + # https://github.com/isc-projects/ethq/issues/30 (bug #879893) + filter-lto + + default +} + src_compile() { # override for ncurses[tinfo] emake CXX="$(tc-getCXX)" LIBS_CURSES="$($(tc-getPKG_CONFIG) --libs ncurses)" |