Diff gcc-10.5.0 with a gcc-11.3.1_p20230427

/usr/portage/sys-devel/gcc/gcc-11.3.1_p20230427.ebuild 2023-10-09 14:52:35.484368501 +0300
4 4
EAPI=8
5 5

  
6 6
TOOLCHAIN_PATCH_DEV="sam"
7
PATCH_GCC_VER="10.5.0"
8
PATCH_VER="6"
7
PATCH_GCC_VER="11.4.0"
8
PATCH_VER="9"
9 9
MUSL_VER="2"
10
MUSL_GCC_VER="10.5.0"
10
MUSL_GCC_VER="11.4.0"
11 11

  
12 12
if [[ ${PV} == *.9999 ]] ; then
13 13
	MY_PV_2=$(ver_cut 2)
......
37 37
	EGIT_BRANCH=releases/gcc-$(ver_cut 1)
38 38
elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then
39 39
	# Don't keyword live ebuilds
40
	KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86"
40
	KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
41 41
	:;
42 42
fi
43 43

  
44
RDEPEND=""
45
BDEPEND="${CATEGORY}/binutils"
44
if [[ ${CATEGORY} != cross-* ]] ; then
45
	# Technically only if USE=hardened *too* right now, but no point in complicating it further.
46
	# If GCC is enabling CET by default, we need glibc to be built with support for it.
47
	# bug #830454
48
	RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )"
49
	DEPEND="${RDEPEND}"
50
	BDEPEND=">=${CATEGORY}/binutils-2.30[cet(-)?]"
51
fi
46 52

  
47 53
src_prepare() {
48 54
	local p upstreamed_patches=(
......
52 58
		rm -v "${WORKDIR}/patch/${p}" || die
53 59
	done
54 60

  
55
	if has_version '>=sys-libs/glibc-2.32-r1'; then
56
		rm -v "${WORKDIR}/patch/23_all_disable-riscv32-ABIs.patch" || die
57
	fi
58

  
59 61
	toolchain_src_prepare
62

  
63
	eapply_user
60 64
}
Thank you!