🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.gentoo.dev
Article #213

Re: [gentoo-dev] [PATCH] toolchain.eclass: replace eapply_user with default

#213
From: Sam James
Date: Sun, 22 Nov 2026 05:50
49 lines
2537 bytes
--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

zhixu.liu@gmail.com writes:

> From: "Z. Liu" <zhixu.liu@gmail.com>
>
> alllow ebuilds to define PATCHES without explicitly calling eapply
>
> Signed-off-by: Z. Liu <zhixu.liu@gmail.com>
> ---

LGTM, thanks. Will merge.

>  eclass/toolchain.eclass | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
> index ffad5cf57ba3..db1f495cc176 100644
> --- a/eclass/toolchain.eclass
> +++ b/eclass/toolchain.eclass
> @@ -660,7 +660,7 @@ toolchain_src_prepare() {
>  		BRANDING_GCC_PKGVERSION=3D"${BRANDING_GCC_PKGVERSION}, commit ${EGIT_V=
ERSION}"
>  	fi
>=20=20
> -	eapply_user
> +	default
>=20=20
>  	# Workaround -march=3Dnative not working for stage1 with non-GCC (bug #=
933772).
>  	if ! tc-is-gcc && [[ "${CFLAGS}${CXXFLAGS}" =3D=3D *-march=3Dnative* ]]=
 ; then

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEBBAEWCgCpFiEEJaa7iN2bdkxrVUHCc4QJ9SDfkZAFAmsCgVobFIAAAAAABAAO
bWFudTIsMi41KzEuMTIsMiwyXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25z
Lm9wZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQyNUE2QkI4OEREOUI3NjRDNkI1NTQx
QzI3Mzg0MDlGNTIwREY5MTkwDxxzYW1AZ2VudG9vLm9yZwAKCRBzhAn1IN+RkOWj
AP9eUKVk697hW9MqfoMNdsyUwCU2wBbeWnwJmpbN7skPggEAtertCJoDx0G78m76
CGS65OrRWPL5Ym90Afnao5tuUQs=
=aKIM
-----END PGP SIGNATURE-----
--=-=-=--
Technical Details
Message-ID: <O28CC-dpua-5@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <O1VYK-diDR-7@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Sam James <sam@gentoo.org>
Newsgroups: linux.gentoo.dev
Subject: Re: [gentoo-dev] [PATCH] toolchain.eclass: replace eapply_user with  default
Date: Sun, 22 Nov 2026 06:50:02 +0100
Message-ID: <O28CC-dpua-5@gated-at.bofh.it>
References: <O1VYK-diDR-7@gated-at.bofh.it>
Organization: Gentoo
User-Agent: mu4e 1.14.4; emacs 32.0.50
List-ID: Gentoo Linux mail <gentoo-dev.gentoo.org>
Reply-To: gentoo-dev@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
	micalg=pgp-sha512; protocol="application/pgp-signature"
Approved: robomod@news.nic.it
Lines: 49
Sender: robomod@news.nic.it
X-Original-Cc: "Z. Liu" <zhixu.liu@gmail.com>
X-Original-Date: Sun, 22 Nov 2026 05:44:58 +0000
X-Original-Message-ID: <87h5h9ctd1.fsf@gentoo.org>
X-Original-References: <20261121161353.43202-1-zhixu.liu@gmail.com>