commit:     47b198ade394f33ba6608b00becbf96359078f2c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Sep  5 04:06:51 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Sep  5 04:08:54 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47b198ad

sys-devel/gcc: drop old 12 snapshots

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-devel/gcc/Manifest                    |  6 ---
 sys-devel/gcc/gcc-12.4.1_p20240711.ebuild | 64 -------------------------------
 sys-devel/gcc/gcc-12.4.1_p20240725.ebuild | 64 -------------------------------
 sys-devel/gcc/gcc-12.4.1_p20240801.ebuild | 64 -------------------------------
 sys-devel/gcc/gcc-12.4.1_p20240808.ebuild | 64 -------------------------------
 sys-devel/gcc/gcc-12.4.1_p20240815.ebuild | 64 -------------------------------
 sys-devel/gcc/gcc-12.4.1_p20240822.ebuild | 64 -------------------------------
 7 files changed, 390 deletions(-)

diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest
index b14af8b6df70..c40df4d757da 100644
--- a/sys-devel/gcc/Manifest
+++ b/sys-devel/gcc/Manifest
@@ -6,12 +6,6 @@ DIST gcc-11.4.0-musl-patches-2.tar.xz 4308 BLAKE2B 
a2335e155fc57816fed822a648e0e
 DIST gcc-11.4.0-patches-12.tar.xz 13824 BLAKE2B 
e4df9e0dc9512882022aaf325ebf65c540169454c91dd31f913c6f57f6eb291c79ae919671b53db1549799d4a70c09298bf45ed82ad05eb1f961443cc958369d
 SHA512 
87fed0c3f8e28c9f702443db58350bb615110b27ebe334b5de2ea60678e2548c56cd75cffade210d69634e2ac0a9311f5100ddb45d97645aa76d5688bc421a61
 DIST gcc-11.5.0.tar.xz 82399864 BLAKE2B 
f4a61faad32aac9e9cb553c1a1a011df0a057f6e2cac92a13cc7e285d08191dd4a117f41a8faac2359c0e2a16f954c7fef354dda9df8c63bff1c5cefda82602c
 SHA512 
88f17d5a5e69eeb53aaf0a9bc9daab1c4e501d145b388c5485ebeb2cc36178fbb2d3e49ebef4a8c007a05e88471a06b97cf9b08870478249f77fbfa3d4abd9a8
 DIST gcc-12-20240209.tar.xz 79824868 BLAKE2B 
1ae5a646da470f06648c4766c77475ceb287c5f6647d5102f1aef6590f973233d5e7f83b5e0241488d49dba59dd605c211938379e68a393a2dccb3834103ae4b
 SHA512 
9f9a04f4477f41bb2a5662aedef2af75b039de50c2dc99310e504e6080cb7aae06a1255337ea2e563975cb108ddc6766adbbaf4e3d5d5712801d7ba9a5209dbd
-DIST gcc-12-20240711.tar.xz 79899144 BLAKE2B 
e1dad8f14ac0413c31ebb516551ef6891c43ffb2161efc6224a59a758cb5936a8b6a5db3ee0ea84c9a013dc3e7a3cca2abdec138cfb17b430d1ea926811f632a
 SHA512 
e3a9b14edb7cf8f5a1d27652b60a4bd9b6aa553ffc5bfa6dc53113e327a4a1f2cfedd3ea5a3a1c074f47d7008cad89d721844a863d762343fad8b37d3ec55083
-DIST gcc-12-20240725.tar.xz 79899056 BLAKE2B 
299edcf3a8fa35f15bcc850a5fd3be12c2d0e464ea8d78454333a3462d182be61923e38fe1ead5ca0e8d647941e897e4c3e37f03cf80e9aeedc32370bdf12f25
 SHA512 
6169e54e6e4c7017d7b9138fef341387a1fc8e3634b974364daef7bdff5809d0156012e25bfb533e255b0f3198aae7c667321bc11ac9ad71302f06be5b31c6b2
-DIST gcc-12-20240801.tar.xz 79883084 BLAKE2B 
9b50ef282b5d55b2c477e5edd83c70076e0fe81c533d15bb9e8a4ac2b53c855f2aac80774b6944e843c6433294fc1b6ff96d7f754c78f60623dc1068c5e0e844
 SHA512 
57699fe4749558e2116e38e6d3dd2427a790969789f7d510225a8306e601a5ef07ca0609ba948c79d540b52c51d29abadbb0195d66f709505d7b685fd11b3e1d
-DIST gcc-12-20240808.tar.xz 79911312 BLAKE2B 
a4958a9980e043d295df7ac75d4f0ac594b012e756133f20cc99a510d288f0be1b253e10c6ee08da36c881cce1bb545ce028ca2d65ba2e180672c09c377a9553
 SHA512 
ad57e71315ac4061b528a0ef6217298d545f7b48d1e73c9b543a7594c48bddf61098227aa0ad889aafb80f2532ce26d4a74b24a84c4cfa52e075415c0a512508
-DIST gcc-12-20240815.tar.xz 79901552 BLAKE2B 
5607c6e801b2defbd7f41d37c262e0fcf8562615c755fd34ddd91fdaf27811587e30ad8428a0fe6185f5a3d16382f40164a1f2be4eead5b9993514949afdb349
 SHA512 
68703cb8f3bb2f81c048bbe514e1e6669172ceea06ea4db02a3e97f6d51d9924d68898b0f4bdb6d383beb619e0e537bb57c9c4b3cd69fdb1e55173bb363af060
-DIST gcc-12-20240822.tar.xz 79887924 BLAKE2B 
70312d8d2e474b67d60895eeeee82de151b2e3633435de53a6bc894ec96dc3cbc303a2676e2fddcd429f677ec25958d520807971bf1daa8df08c2f24e9f3de76
 SHA512 
d74ac04a3aa42c129e88dbbc47119a98e0c213bd36792f383a3716a6f55eaa09f97dfc4991656fed857acb975e427c1bcb443ed777833e3e3a08f18b405cb02f
 DIST gcc-12-20240829.tar.xz 79907788 BLAKE2B 
d50f01fc6dc5962696062d0c5e0c12753e59030dc44e7b04f37a9a58cf675320151ada22f9d2796e15c3aa3d8e130afb4a8ab03112f8eeed5e57ab51c66e5cb4
 SHA512 
58cfef9a0c8bf40ec8ccbaeff1460c2e97fdfb76931e06e37fe067b14d52a6c0554e5b9706b937e1f1328c18a133ac61837d9ac52ec2591cd16353009b07aa6a
 DIST gcc-12.3.0-musl-patches-1.tar.xz 3572 BLAKE2B 
c7bf65f7c9ea8023ddaac821ee2b778622fa310ac72a72b2f7032494a8f304eac86217f9204622e6c21aaef9952bece0d09bc126facd4f42b602927909815ab5
 SHA512 
babc279fea2c1fd4c018815f2f5630214fd46015ce9f365c28af242681d51818eaca30ce298eddcab1eed5ac5f2759e2b47b2335afab9d722b4469a6d4fec326
 DIST gcc-12.3.0-patches-3.tar.xz 14852 BLAKE2B 
7a5f1f43063b15f424099afd72096212fbbbc5151ff01f2de15dfb6e7cf274981c8cfaedba9ef61576c9096fb172fc550a7deb5cd7d9366fd249fd5dd3951f76
 SHA512 
aa89e4c2ae02f4fb42229ad5167f2eaa3a8fae51118645bf07199fe2124b9c83948590662b053d08002ef709fa870ea88315fd4ccbe4441a74e9cb62edcb82fb

diff --git a/sys-devel/gcc/gcc-12.4.1_p20240711.ebuild 
b/sys-devel/gcc/gcc-12.4.1_p20240711.ebuild
deleted file mode 100644
index e645c4d53b77..000000000000
--- a/sys-devel/gcc/gcc-12.4.1_p20240711.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-TOOLCHAIN_PATCH_DEV="sam"
-PATCH_GCC_VER="12.3.0"
-PATCH_VER="3"
-MUSL_VER="1"
-MUSL_GCC_VER="12.3.0"
-PYTHON_COMPAT=( python3_{10..12} )
-
-if [[ ${PV} == *.9999 ]] ; then
-       MY_PV_2=$(ver_cut 2)
-       MY_PV_3=1
-       if [[ ${MY_PV_2} == 0 ]] ; then
-               MY_PV_2=0
-               MY_PV_3=0
-       else
-               MY_PV_2=$((${MY_PV_2} - 1))
-       fi
-
-       # e.g. 12.2.9999 -> 12.1.1
-       TOOLCHAIN_GCC_PV=$(ver_cut 1).${MY_PV_2}.${MY_PV_3}
-elif [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then
-       # Cheesy hack for RCs
-       MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 
1)))-RC-$(ver_cut 5)
-       MY_P=${PN}-${MY_PV}
-       GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz"
-       TOOLCHAIN_SET_S=no
-       S="${WORKDIR}"/${MY_P}
-fi
-
-inherit toolchain
-
-if tc_is_live ; then
-       # Needs to be after inherit (for now?), bug #830908
-       EGIT_BRANCH=releases/gcc-$(ver_cut 1)
-elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then
-       # Don't keyword live ebuilds
-       #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86"
-       :;
-fi
-
-if [[ ${CATEGORY} != cross-* ]] ; then
-       # Technically only if USE=hardened *too* right now, but no point in 
complicating it further.
-       # If GCC is enabling CET by default, we need glibc to be built with 
support for it.
-       # bug #830454
-       RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )"
-       DEPEND="${RDEPEND}"
-fi
-
-src_prepare() {
-       local p upstreamed_patches=(
-               # add them here
-       )
-       for p in "${upstreamed_patches[@]}"; do
-               rm -v "${WORKDIR}/patch/${p}" || die
-       done
-
-       toolchain_src_prepare
-
-       eapply_user
-}

diff --git a/sys-devel/gcc/gcc-12.4.1_p20240725.ebuild 
b/sys-devel/gcc/gcc-12.4.1_p20240725.ebuild
deleted file mode 100644
index e645c4d53b77..000000000000
--- a/sys-devel/gcc/gcc-12.4.1_p20240725.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-TOOLCHAIN_PATCH_DEV="sam"
-PATCH_GCC_VER="12.3.0"
-PATCH_VER="3"
-MUSL_VER="1"
-MUSL_GCC_VER="12.3.0"
-PYTHON_COMPAT=( python3_{10..12} )
-
-if [[ ${PV} == *.9999 ]] ; then
-       MY_PV_2=$(ver_cut 2)
-       MY_PV_3=1
-       if [[ ${MY_PV_2} == 0 ]] ; then
-               MY_PV_2=0
-               MY_PV_3=0
-       else
-               MY_PV_2=$((${MY_PV_2} - 1))
-       fi
-
-       # e.g. 12.2.9999 -> 12.1.1
-       TOOLCHAIN_GCC_PV=$(ver_cut 1).${MY_PV_2}.${MY_PV_3}
-elif [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then
-       # Cheesy hack for RCs
-       MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 
1)))-RC-$(ver_cut 5)
-       MY_P=${PN}-${MY_PV}
-       GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz"
-       TOOLCHAIN_SET_S=no
-       S="${WORKDIR}"/${MY_P}
-fi
-
-inherit toolchain
-
-if tc_is_live ; then
-       # Needs to be after inherit (for now?), bug #830908
-       EGIT_BRANCH=releases/gcc-$(ver_cut 1)
-elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then
-       # Don't keyword live ebuilds
-       #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86"
-       :;
-fi
-
-if [[ ${CATEGORY} != cross-* ]] ; then
-       # Technically only if USE=hardened *too* right now, but no point in 
complicating it further.
-       # If GCC is enabling CET by default, we need glibc to be built with 
support for it.
-       # bug #830454
-       RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )"
-       DEPEND="${RDEPEND}"
-fi
-
-src_prepare() {
-       local p upstreamed_patches=(
-               # add them here
-       )
-       for p in "${upstreamed_patches[@]}"; do
-               rm -v "${WORKDIR}/patch/${p}" || die
-       done
-
-       toolchain_src_prepare
-
-       eapply_user
-}

diff --git a/sys-devel/gcc/gcc-12.4.1_p20240801.ebuild 
b/sys-devel/gcc/gcc-12.4.1_p20240801.ebuild
deleted file mode 100644
index e645c4d53b77..000000000000
--- a/sys-devel/gcc/gcc-12.4.1_p20240801.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-TOOLCHAIN_PATCH_DEV="sam"
-PATCH_GCC_VER="12.3.0"
-PATCH_VER="3"
-MUSL_VER="1"
-MUSL_GCC_VER="12.3.0"
-PYTHON_COMPAT=( python3_{10..12} )
-
-if [[ ${PV} == *.9999 ]] ; then
-       MY_PV_2=$(ver_cut 2)
-       MY_PV_3=1
-       if [[ ${MY_PV_2} == 0 ]] ; then
-               MY_PV_2=0
-               MY_PV_3=0
-       else
-               MY_PV_2=$((${MY_PV_2} - 1))
-       fi
-
-       # e.g. 12.2.9999 -> 12.1.1
-       TOOLCHAIN_GCC_PV=$(ver_cut 1).${MY_PV_2}.${MY_PV_3}
-elif [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then
-       # Cheesy hack for RCs
-       MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 
1)))-RC-$(ver_cut 5)
-       MY_P=${PN}-${MY_PV}
-       GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz"
-       TOOLCHAIN_SET_S=no
-       S="${WORKDIR}"/${MY_P}
-fi
-
-inherit toolchain
-
-if tc_is_live ; then
-       # Needs to be after inherit (for now?), bug #830908
-       EGIT_BRANCH=releases/gcc-$(ver_cut 1)
-elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then
-       # Don't keyword live ebuilds
-       #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86"
-       :;
-fi
-
-if [[ ${CATEGORY} != cross-* ]] ; then
-       # Technically only if USE=hardened *too* right now, but no point in 
complicating it further.
-       # If GCC is enabling CET by default, we need glibc to be built with 
support for it.
-       # bug #830454
-       RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )"
-       DEPEND="${RDEPEND}"
-fi
-
-src_prepare() {
-       local p upstreamed_patches=(
-               # add them here
-       )
-       for p in "${upstreamed_patches[@]}"; do
-               rm -v "${WORKDIR}/patch/${p}" || die
-       done
-
-       toolchain_src_prepare
-
-       eapply_user
-}

diff --git a/sys-devel/gcc/gcc-12.4.1_p20240808.ebuild 
b/sys-devel/gcc/gcc-12.4.1_p20240808.ebuild
deleted file mode 100644
index e645c4d53b77..000000000000
--- a/sys-devel/gcc/gcc-12.4.1_p20240808.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-TOOLCHAIN_PATCH_DEV="sam"
-PATCH_GCC_VER="12.3.0"
-PATCH_VER="3"
-MUSL_VER="1"
-MUSL_GCC_VER="12.3.0"
-PYTHON_COMPAT=( python3_{10..12} )
-
-if [[ ${PV} == *.9999 ]] ; then
-       MY_PV_2=$(ver_cut 2)
-       MY_PV_3=1
-       if [[ ${MY_PV_2} == 0 ]] ; then
-               MY_PV_2=0
-               MY_PV_3=0
-       else
-               MY_PV_2=$((${MY_PV_2} - 1))
-       fi
-
-       # e.g. 12.2.9999 -> 12.1.1
-       TOOLCHAIN_GCC_PV=$(ver_cut 1).${MY_PV_2}.${MY_PV_3}
-elif [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then
-       # Cheesy hack for RCs
-       MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 
1)))-RC-$(ver_cut 5)
-       MY_P=${PN}-${MY_PV}
-       GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz"
-       TOOLCHAIN_SET_S=no
-       S="${WORKDIR}"/${MY_P}
-fi
-
-inherit toolchain
-
-if tc_is_live ; then
-       # Needs to be after inherit (for now?), bug #830908
-       EGIT_BRANCH=releases/gcc-$(ver_cut 1)
-elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then
-       # Don't keyword live ebuilds
-       #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86"
-       :;
-fi
-
-if [[ ${CATEGORY} != cross-* ]] ; then
-       # Technically only if USE=hardened *too* right now, but no point in 
complicating it further.
-       # If GCC is enabling CET by default, we need glibc to be built with 
support for it.
-       # bug #830454
-       RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )"
-       DEPEND="${RDEPEND}"
-fi
-
-src_prepare() {
-       local p upstreamed_patches=(
-               # add them here
-       )
-       for p in "${upstreamed_patches[@]}"; do
-               rm -v "${WORKDIR}/patch/${p}" || die
-       done
-
-       toolchain_src_prepare
-
-       eapply_user
-}

diff --git a/sys-devel/gcc/gcc-12.4.1_p20240815.ebuild 
b/sys-devel/gcc/gcc-12.4.1_p20240815.ebuild
deleted file mode 100644
index e645c4d53b77..000000000000
--- a/sys-devel/gcc/gcc-12.4.1_p20240815.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-TOOLCHAIN_PATCH_DEV="sam"
-PATCH_GCC_VER="12.3.0"
-PATCH_VER="3"
-MUSL_VER="1"
-MUSL_GCC_VER="12.3.0"
-PYTHON_COMPAT=( python3_{10..12} )
-
-if [[ ${PV} == *.9999 ]] ; then
-       MY_PV_2=$(ver_cut 2)
-       MY_PV_3=1
-       if [[ ${MY_PV_2} == 0 ]] ; then
-               MY_PV_2=0
-               MY_PV_3=0
-       else
-               MY_PV_2=$((${MY_PV_2} - 1))
-       fi
-
-       # e.g. 12.2.9999 -> 12.1.1
-       TOOLCHAIN_GCC_PV=$(ver_cut 1).${MY_PV_2}.${MY_PV_3}
-elif [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then
-       # Cheesy hack for RCs
-       MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 
1)))-RC-$(ver_cut 5)
-       MY_P=${PN}-${MY_PV}
-       GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz"
-       TOOLCHAIN_SET_S=no
-       S="${WORKDIR}"/${MY_P}
-fi
-
-inherit toolchain
-
-if tc_is_live ; then
-       # Needs to be after inherit (for now?), bug #830908
-       EGIT_BRANCH=releases/gcc-$(ver_cut 1)
-elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then
-       # Don't keyword live ebuilds
-       #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86"
-       :;
-fi
-
-if [[ ${CATEGORY} != cross-* ]] ; then
-       # Technically only if USE=hardened *too* right now, but no point in 
complicating it further.
-       # If GCC is enabling CET by default, we need glibc to be built with 
support for it.
-       # bug #830454
-       RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )"
-       DEPEND="${RDEPEND}"
-fi
-
-src_prepare() {
-       local p upstreamed_patches=(
-               # add them here
-       )
-       for p in "${upstreamed_patches[@]}"; do
-               rm -v "${WORKDIR}/patch/${p}" || die
-       done
-
-       toolchain_src_prepare
-
-       eapply_user
-}

diff --git a/sys-devel/gcc/gcc-12.4.1_p20240822.ebuild 
b/sys-devel/gcc/gcc-12.4.1_p20240822.ebuild
deleted file mode 100644
index e645c4d53b77..000000000000
--- a/sys-devel/gcc/gcc-12.4.1_p20240822.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-TOOLCHAIN_PATCH_DEV="sam"
-PATCH_GCC_VER="12.3.0"
-PATCH_VER="3"
-MUSL_VER="1"
-MUSL_GCC_VER="12.3.0"
-PYTHON_COMPAT=( python3_{10..12} )
-
-if [[ ${PV} == *.9999 ]] ; then
-       MY_PV_2=$(ver_cut 2)
-       MY_PV_3=1
-       if [[ ${MY_PV_2} == 0 ]] ; then
-               MY_PV_2=0
-               MY_PV_3=0
-       else
-               MY_PV_2=$((${MY_PV_2} - 1))
-       fi
-
-       # e.g. 12.2.9999 -> 12.1.1
-       TOOLCHAIN_GCC_PV=$(ver_cut 1).${MY_PV_2}.${MY_PV_3}
-elif [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then
-       # Cheesy hack for RCs
-       MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 
1)))-RC-$(ver_cut 5)
-       MY_P=${PN}-${MY_PV}
-       GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz"
-       TOOLCHAIN_SET_S=no
-       S="${WORKDIR}"/${MY_P}
-fi
-
-inherit toolchain
-
-if tc_is_live ; then
-       # Needs to be after inherit (for now?), bug #830908
-       EGIT_BRANCH=releases/gcc-$(ver_cut 1)
-elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then
-       # Don't keyword live ebuilds
-       #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86"
-       :;
-fi
-
-if [[ ${CATEGORY} != cross-* ]] ; then
-       # Technically only if USE=hardened *too* right now, but no point in 
complicating it further.
-       # If GCC is enabling CET by default, we need glibc to be built with 
support for it.
-       # bug #830454
-       RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )"
-       DEPEND="${RDEPEND}"
-fi
-
-src_prepare() {
-       local p upstreamed_patches=(
-               # add them here
-       )
-       for p in "${upstreamed_patches[@]}"; do
-               rm -v "${WORKDIR}/patch/${p}" || die
-       done
-
-       toolchain_src_prepare
-
-       eapply_user
-}

Reply via email to