From 19ca4b64661c42325c76e3bf01641b3163361e75 Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 15 Mar 2024 06:40:03 +0000 Subject: sys-apps/ethq: filter LTO Horribly broken, already reported upstream by RH. Closes: https://bugs.gentoo.org/879893 Signed-off-by: Sam James --- sys-apps/ethq/ethq-0.6.1.ebuild | 11 +++++++++-- sys-apps/ethq/ethq-9999.ebuild | 12 ++++++++++-- 2 files changed, 19 insertions(+), 4 deletions(-) (limited to 'sys-apps') 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)" -- cgit v1.2.3-65-gdbad