commit: 857488cb6bce0179546984ef5e489bf0ad70e152 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> AuthorDate: Sat Jun 14 17:09:12 2025 +0000 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> CommitDate: Sat Jun 14 17:09:12 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=857488cb
net-firewall/xtables-addons: Fix kernel version detection during configure The error seemingly wasn't fatal, but it didn't look good. Closes: https://bugs.gentoo.org/957890 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> net-firewall/xtables-addons/xtables-addons-3.27.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/net-firewall/xtables-addons/xtables-addons-3.27.ebuild b/net-firewall/xtables-addons/xtables-addons-3.27.ebuild index a84adda04e09..45cae44b7c2b 100644 --- a/net-firewall/xtables-addons/xtables-addons-3.27.ebuild +++ b/net-firewall/xtables-addons/xtables-addons-3.27.ebuild @@ -4,7 +4,7 @@ EAPI=8 MODULES_OPTIONAL_IUSE="+modules" -inherit flag-o-matic linux-mod-r1 +inherit flag-o-matic linux-mod-r1 toolchain-funcs XTABLES_MODULES=( account chaos delude dhcpmac dnetmap echo ipmark logmark @@ -82,6 +82,9 @@ src_configure() { --prefix="${EPREFIX:-/}" --libexecdir="${EPREFIX}"/$(get_libdir) $(usex modules --with-kbuild="${KV_OUT_DIR}" --without-kbuild) + + # Needed for cross-compiling and to avoid a clash with the Gentoo ARCH. + ARCH="$(tc-arch-kernel)" ) econf "${econfargs[@]}"
