commit:     a2407bf56386fc50769b8df5c237cefc76029392
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 22 12:05:11 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Nov 22 12:07:46 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2407bf5

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.3.1_p20231006.ebuild | 64 -------------------------------
 sys-devel/gcc/gcc-12.3.1_p20231013.ebuild | 64 -------------------------------
 sys-devel/gcc/gcc-12.3.1_p20231020.ebuild | 64 -------------------------------
 sys-devel/gcc/gcc-12.3.1_p20231027.ebuild | 64 -------------------------------
 sys-devel/gcc/gcc-12.3.1_p20231103.ebuild | 64 -------------------------------
 sys-devel/gcc/gcc-12.3.1_p20231110.ebuild | 64 -------------------------------
 7 files changed, 390 deletions(-)

diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest
index aac62750708e..5f8f93775e96 100644
--- a/sys-devel/gcc/Manifest
+++ b/sys-devel/gcc/Manifest
@@ -11,12 +11,6 @@ DIST gcc-11.4.0-patches-10.tar.xz 13852 BLAKE2B 
54937d13e30e2a5303c7e197fae09eee
 DIST gcc-11.4.0-patches-9.tar.xz 14704 BLAKE2B 
9aa2ecbac493d3040694e9930738e57d59a764b90ab92b91709c319b883f28ad108767e5d11e8b62af40bf1e583d5ff83a03e8c895f904bc6f41315ce9ab4f0a
 SHA512 
ac8b7c6c382ffacc4e9d08299440fc237fa366ec36fb8eb7a8d426b64a4186384a262e6380dc83ed7f7240125ce26a8435c8a4e0e13976ef2652067a7129bd17
 DIST gcc-12-20230526.tar.xz 79780444 BLAKE2B 
6f6eca272ab506e16a231003c399e28572595c82fbaaec9deb14b78ff9fc493fb24afe1c375d4f2fd75e9813805934857ef2ceb6c05b7977dbfe2e50abdc3ec9
 SHA512 
fb190ce5bf3d38a1899016475c1551550d44c6f71f1f1a71ced545cbb2aff0446bd2765230b0920379579a13103a507ffc1e197ac69afb0a4f08efe11b50918d
 DIST gcc-12-20230825.tar.xz 79804260 BLAKE2B 
4d3eb40eb5954d497b3e9586dad0d18c9e561d3fdd0bdccc5c9572edfbe024a235e30371a10116d98c77f0b6042739600c57ac99253d34f0fbb8b8465b187e1f
 SHA512 
a6cd868f474c356886460b95263807828f9a379ce97524611ec504d6a9149ca1f92585128e6ffd03fa2647442e72fde6ebe987fd49f2fc49d8df39ab056905c5
-DIST gcc-12-20231006.tar.xz 79786912 BLAKE2B 
09da5378d449b6d1d5d5af82bfa18b6d073a4f255afef5e19a086e72d41ba0a204705353a4ef7df8c89ace4de639573fe98ab37f90e0f0761743336fcfb023b2
 SHA512 
21975c70bc7958a44e4785881cc4c64bc842ec28e34a10880ef7369299af0bccdeb54ceb6e303ca031795a678e1649100a6924110268ba53147ae6e7da6acb91
-DIST gcc-12-20231013.tar.xz 79793868 BLAKE2B 
39844a7ff9b5bfd1201816b5758aa9937fb69f28f43a6c6f3aba1debbc24e0908b0af20fd1257cfbddf5bfd23c3d8ea264a1743822443f8ed12c03b874732e76
 SHA512 
52ec9815535634db0ea47521a416b2be4fc483b1b90e10cac5d6235e661a5c142d8d5c9f3d06cc856572fc38d3a9abe601b9c1fa918f115dc7d1dc81db9d9ceb
-DIST gcc-12-20231020.tar.xz 79803424 BLAKE2B 
2bbd11b84a203a305279587ba8e8771778b425f507b38e6c9dd649c9124e0c77fdf23451150d5e70495ba4a978c449f0b5cd7a5355f63ed1e322585532d6976a
 SHA512 
af6af7b0c6dc95d624bec7f17a092baf2c7258e3b87c372023ae3d1e07b30c7c155f21e24d6ed8e8e55378b1658e18dcb9d2658ddb7f534921b5ac25dab957d0
-DIST gcc-12-20231027.tar.xz 79811256 BLAKE2B 
80f9b31f1cf0aaca4b3a2808b37627018872ccbe71c9d8e63c29fff4ab57738e6a9b5ce6484bf0237b6d725ecf9f1523c57062c5d2bad5111ef15bec96247094
 SHA512 
3986087a5a250ffa49f9ce85dfaf7f6fd0bc148afac832b7b498f3f5ae4a6bb45a48753304d7a913bb8829f6bf912ebc76b3a3279d0c3d7bbb60af53da6df3c7
-DIST gcc-12-20231103.tar.xz 79849280 BLAKE2B 
40fe188736bba96d9facb71f19284815044a9f302fff340579a49d3a71f7f01b04e7c97df1291fbcdcd90a924d237dce56d09a49d6135ec4b8766c080d06dfea
 SHA512 
1b49df9f2953fb25175d68ed12bb3d47355502b82537568b8d4148b7c8e3836ec606a7b07af0737f903f42cd6e56798987c4b9bdb00fe34871553877ecc07f04
-DIST gcc-12-20231110.tar.xz 79797548 BLAKE2B 
86f9fb14663cb8fc5da2142b0eaa6b565329ed5d26911b38013359ba65d04c276c99bcf47a043b818d521734cbb85004148b3cf02d49c7d07091be8de9de8178
 SHA512 
2bd30c72a05e05b568c03e4cc9f07cd1f6a0c1532d355e31d463457bf92fe55c56e45ae51a9282e29d6dadf0e5c2bec5dd7afc7a4b198a111905b798c3981204
 DIST gcc-12-20231117.tar.xz 79812376 BLAKE2B 
a32153daa75f640cfbea7eea3bbf1391d9d95fd0e9659c73e7bade50fefdbe93f5b0a22b4b9b61e08a5df9009081bbde9a3878c0fdd474f02944fe10704736c6
 SHA512 
c31886d2b5d2b58fa5caa063407d896aab565f8d5996f71447e341d85f8b34c989ab8462a14f067473e360d2f5e2131f9cc068eb8808a23b4531ad313b7ea37b
 DIST gcc-12.3.0-musl-patches-1.tar.xz 3572 BLAKE2B 
c7bf65f7c9ea8023ddaac821ee2b778622fa310ac72a72b2f7032494a8f304eac86217f9204622e6c21aaef9952bece0d09bc126facd4f42b602927909815ab5
 SHA512 
babc279fea2c1fd4c018815f2f5630214fd46015ce9f365c28af242681d51818eaca30ce298eddcab1eed5ac5f2759e2b47b2335afab9d722b4469a6d4fec326
 DIST gcc-12.3.0-patches-2.tar.xz 14236 BLAKE2B 
06c43662c9abb0fa3cf90d5e2273c69aecb9158e6cf6f23c04754ed5d686be2616e81e2502eb16f4298ddd50518ca7677e13249da9e9b091162d3931ff65e4fe
 SHA512 
b0d4b85dbf1a54aaaa1997203b872e3106906b4ad49cde57e1428bc22b2f8e2d73b8cb10ae0d0b792aebaf664594da4d1dea04c44ddc34e59047410766db04d1

diff --git a/sys-devel/gcc/gcc-12.3.1_p20231006.ebuild 
b/sys-devel/gcc/gcc-12.3.1_p20231006.ebuild
deleted file mode 100644
index 1ffe2b97a4bf..000000000000
--- a/sys-devel/gcc/gcc-12.3.1_p20231006.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2023 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="2"
-MUSL_VER="1"
-MUSL_GCC_VER="12.3.0"
-
-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}"
-       BDEPEND=">=${CATEGORY}/binutils-2.30[cet(-)?]"
-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.3.1_p20231013.ebuild 
b/sys-devel/gcc/gcc-12.3.1_p20231013.ebuild
deleted file mode 100644
index 1ffe2b97a4bf..000000000000
--- a/sys-devel/gcc/gcc-12.3.1_p20231013.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2023 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="2"
-MUSL_VER="1"
-MUSL_GCC_VER="12.3.0"
-
-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}"
-       BDEPEND=">=${CATEGORY}/binutils-2.30[cet(-)?]"
-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.3.1_p20231020.ebuild 
b/sys-devel/gcc/gcc-12.3.1_p20231020.ebuild
deleted file mode 100644
index 1ffe2b97a4bf..000000000000
--- a/sys-devel/gcc/gcc-12.3.1_p20231020.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2023 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="2"
-MUSL_VER="1"
-MUSL_GCC_VER="12.3.0"
-
-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}"
-       BDEPEND=">=${CATEGORY}/binutils-2.30[cet(-)?]"
-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.3.1_p20231027.ebuild 
b/sys-devel/gcc/gcc-12.3.1_p20231027.ebuild
deleted file mode 100644
index 1ffe2b97a4bf..000000000000
--- a/sys-devel/gcc/gcc-12.3.1_p20231027.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2023 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="2"
-MUSL_VER="1"
-MUSL_GCC_VER="12.3.0"
-
-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}"
-       BDEPEND=">=${CATEGORY}/binutils-2.30[cet(-)?]"
-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.3.1_p20231103.ebuild 
b/sys-devel/gcc/gcc-12.3.1_p20231103.ebuild
deleted file mode 100644
index 1ffe2b97a4bf..000000000000
--- a/sys-devel/gcc/gcc-12.3.1_p20231103.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2023 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="2"
-MUSL_VER="1"
-MUSL_GCC_VER="12.3.0"
-
-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}"
-       BDEPEND=">=${CATEGORY}/binutils-2.30[cet(-)?]"
-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.3.1_p20231110.ebuild 
b/sys-devel/gcc/gcc-12.3.1_p20231110.ebuild
deleted file mode 100644
index 1ffe2b97a4bf..000000000000
--- a/sys-devel/gcc/gcc-12.3.1_p20231110.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2023 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="2"
-MUSL_VER="1"
-MUSL_GCC_VER="12.3.0"
-
-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}"
-       BDEPEND=">=${CATEGORY}/binutils-2.30[cet(-)?]"
-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