Gentoo Archives: gentoo-commits

From: Jory Pratt <anarchy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/musl:master commit in: sys-devel/gcc/
Date: Thu, 23 Sep 2021 22:19:32
Message-Id: 1632435562.98ef5d1abd9ad842d686e976738f0957354b815a.anarchy@gentoo
1 commit: 98ef5d1abd9ad842d686e976738f0957354b815a
2 Author: Jory Pratt <anarchy <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 23 22:19:22 2021 +0000
4 Commit: Jory Pratt <anarchy <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 23 22:19:22 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=98ef5d1a
7
8 sys-devel/gcc: revbump for x86/ppc for stage regeneration
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.3
11 Signed-off-by: Jory Pratt <anarchy <AT> gentoo.org>
12
13 sys-devel/gcc/gcc-10.3.0-r3.ebuild | 31 +++++++++++++++++++++++++++++++
14 1 file changed, 31 insertions(+)
15
16 diff --git a/sys-devel/gcc/gcc-10.3.0-r3.ebuild b/sys-devel/gcc/gcc-10.3.0-r3.ebuild
17 new file mode 100644
18 index 0000000..60b7cbc
19 --- /dev/null
20 +++ b/sys-devel/gcc/gcc-10.3.0-r3.ebuild
21 @@ -0,0 +1,31 @@
22 +# Copyright 1999-2021 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI="7"
26 +
27 +PATCH_VER="3"
28 +
29 +inherit toolchain
30 +
31 +KEYWORDS="ppc x86"
32 +
33 +RDEPEND=""
34 +BDEPEND="${CATEGORY}/binutils"
35 +
36 +src_prepare() {
37 + toolchain_src_prepare
38 +
39 + if use elibc_musl || [[ ${CATEGORY} = cross-*-musl* ]]; then
40 + eapply "${FILESDIR}"/10.1.0/cpu_indicator.patch
41 + eapply "${FILESDIR}"/7.1.0/posix_memalign.patch
42 + case $(tc-arch) in
43 + amd64|arm64|ppc64) eapply "${FILESDIR}"/9.3.0/gcc-pure64.patch ;;
44 + esac
45 + fi
46 +
47 + if [[ ${CATEGORY} != cross-* ]] ; then
48 + eapply "${FILESDIR}"/gcc-6.1-musl-libssp.patch
49 + fi
50 +
51 + eapply_user
52 +}