From 76480eb12412e13a6f9b105bde10fd7a98b137a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulrich=20M=C3=BCller?= Date: Wed, 14 Feb 2024 13:55:14 +0100 Subject: [PATCH] app-editors/e3: Suppress false positive warning for prestripped MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Make the build fail if the arch is unknown; update to EAPI 8 for two-argument usev. Closes: https://bugs.gentoo.org/924244 Bug: https://bugs.gentoo.org/924353 Signed-off-by: Ulrich Müller --- app-editors/e3/e3-2.8.2.ebuild | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/app-editors/e3/e3-2.8.2.ebuild b/app-editors/e3/e3-2.8.2.ebuild index 1861f7fdb058d..02569310fc468 100644 --- a/app-editors/e3/e3-2.8.2.ebuild +++ b/app-editors/e3/e3-2.8.2.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit toolchain-funcs @@ -18,10 +18,14 @@ BDEPEND=">=dev-lang/nasm-2.09.04" S="${WORKDIR}/${MY_P}" PATCHES=("${FILESDIR}"/${P}-makefile.patch) -QA_FLAGS_IGNORED="/usr/bin/e3" #726484 + +# Suppress false positive QA warnings #726484 #924244 +QA_FLAGS_IGNORED="/usr/bin/e3" +QA_PRESTRIPPED="/usr/bin/e3" src_compile() { - emake -- $(usex amd64 64 32) LD="$(tc-getLD)" DEBUG=true + emake -- $(usev amd64 64 || usev x86 32 || die) \ + LD="$(tc-getLD)" DEBUG=true } src_install() {