From fec7ae831021fbe0cb3caa2f51f2109dde1b66b5 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Fri, 1 May 2020 07:55:21 +0100 Subject: [PATCH] sys-devel/gcc: switch gcc master to 11.0.0 version Reported-by: Arfrever Frehtes Taifersar Arahesis Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich --- sys-devel/gcc/gcc-10.0.1_pre9999.ebuild | 11 +-------- sys-devel/gcc/gcc-11.0.0_pre9999.ebuild | 32 +++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 10 deletions(-) create mode 100644 sys-devel/gcc/gcc-11.0.0_pre9999.ebuild diff --git a/sys-devel/gcc/gcc-10.0.1_pre9999.ebuild b/sys-devel/gcc/gcc-10.0.1_pre9999.ebuild index f405bdd58b63..4ebe30903155 100644 --- a/sys-devel/gcc/gcc-10.0.1_pre9999.ebuild +++ b/sys-devel/gcc/gcc-10.0.1_pre9999.ebuild @@ -11,17 +11,8 @@ inherit toolchain # Don't keyword live ebuilds #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86" -# No gcc-10 branch yet -EGIT_BRANCH=master - RDEPEND="" -DEPEND="${RDEPEND} - elibc_glibc? ( >=sys-libs/glibc-2.13 ) - >=${CATEGORY}/binutils-2.20" - -if [[ ${CATEGORY} != cross-* ]] ; then - PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.13 )" -fi +DEPEND="${CATEGORY}/binutils" src_prepare() { local p ignore_patches=( diff --git a/sys-devel/gcc/gcc-11.0.0_pre9999.ebuild b/sys-devel/gcc/gcc-11.0.0_pre9999.ebuild new file mode 100644 index 000000000000..ab32e32d34a9 --- /dev/null +++ b/sys-devel/gcc/gcc-11.0.0_pre9999.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PATCH_GCC_VER="9.3.0" # reuse subset of patches for latest for live ebuilds gcc +PATCH_VER="2" + +inherit toolchain + +# Don't keyword live ebuilds +#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86" + +EGIT_BRANCH=master + +RDEPEND="" +DEPEND="${CATEGORY}/binutils" + +src_prepare() { + local p ignore_patches=( + 11_all_extra-options.patch # needs a port + 27_all_default_ssp-buffer-size.patch # needs a port + + 12_all_pr55930-dependency-tracking.patch # upstreamed + 25_all_ia64-bootstrap.patch # upstreamed + ) + for p in "${ignore_patches[@]}"; do + mv -v "${WORKDIR}"/patch/"${p}" "${WORKDIR}"/patch/"${p}"_disabled || die "failed to disable '${p}'" + done + + toolchain_src_prepare +} -- 2.26.2