commit:     98ef5d1abd9ad842d686e976738f0957354b815a
Author:     Jory Pratt <anarchy <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 23 22:19:22 2021 +0000
Commit:     Jory Pratt <anarchy <AT> gentoo <DOT> org>
CommitDate: Thu Sep 23 22:19:22 2021 +0000
URL:        https://gitweb.gentoo.org/proj/musl.git/commit/?id=98ef5d1a

sys-devel/gcc: revbump for x86/ppc for stage regeneration

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Jory Pratt <anarchy <AT> gentoo.org>

 sys-devel/gcc/gcc-10.3.0-r3.ebuild | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/sys-devel/gcc/gcc-10.3.0-r3.ebuild 
b/sys-devel/gcc/gcc-10.3.0-r3.ebuild
new file mode 100644
index 0000000..60b7cbc
--- /dev/null
+++ b/sys-devel/gcc/gcc-10.3.0-r3.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PATCH_VER="3"
+
+inherit toolchain
+
+KEYWORDS="ppc x86"
+
+RDEPEND=""
+BDEPEND="${CATEGORY}/binutils"
+
+src_prepare() {
+       toolchain_src_prepare
+
+       if use elibc_musl || [[ ${CATEGORY} = cross-*-musl* ]]; then
+               eapply "${FILESDIR}"/10.1.0/cpu_indicator.patch
+               eapply "${FILESDIR}"/7.1.0/posix_memalign.patch
+               case $(tc-arch) in
+                       amd64|arm64|ppc64) eapply 
"${FILESDIR}"/9.3.0/gcc-pure64.patch ;;
+               esac
+       fi
+
+       if [[ ${CATEGORY} != cross-* ]] ; then
+               eapply "${FILESDIR}"/gcc-6.1-musl-libssp.patch
+       fi
+
+       eapply_user
+}

Reply via email to