From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 20C7D158012 for ; Thu, 23 Sep 2021 22:19:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 67A13E0866; Thu, 23 Sep 2021 22:19:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 52888E0866 for ; Thu, 23 Sep 2021 22:19:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6D7B3342D0E for ; Thu, 23 Sep 2021 22:19:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2797FD0 for ; Thu, 23 Sep 2021 22:19:29 +0000 (UTC) From: "Jory Pratt" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jory Pratt" Message-ID: <1632435562.98ef5d1abd9ad842d686e976738f0957354b815a.anarchy@gentoo> Subject: [gentoo-commits] proj/musl:master commit in: sys-devel/gcc/ X-VCS-Repository: proj/musl X-VCS-Files: sys-devel/gcc/gcc-10.3.0-r3.ebuild X-VCS-Directories: sys-devel/gcc/ X-VCS-Committer: anarchy X-VCS-Committer-Name: Jory Pratt X-VCS-Revision: 98ef5d1abd9ad842d686e976738f0957354b815a X-VCS-Branch: master Date: Thu, 23 Sep 2021 22:19:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4409a8d0-1d47-4714-8edb-2154bb58887f X-Archives-Hash: a50528797f560d1941476b3949f6a41b commit: 98ef5d1abd9ad842d686e976738f0957354b815a Author: Jory Pratt gentoo org> AuthorDate: Thu Sep 23 22:19:22 2021 +0000 Commit: Jory Pratt gentoo 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 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 +}