diff options
author | Sam James <sam@gentoo.org> | 2023-04-08 22:32:41 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-04-08 22:32:41 +0100 |
commit | 2f404a65f0376f101773c4cb5fd89f19c07c9729 (patch) | |
tree | 143672f7c89788dafee010c5d0b2e0d14f850669 /sys-devel | |
parent | dev-ruby/http: add dev-ruby/webrick test dep (diff) | |
download | gentoo-2f404a65f0376f101773c4cb5fd89f19c07c9729.tar.gz gentoo-2f404a65f0376f101773c4cb5fd89f19c07c9729.tar.bz2 gentoo-2f404a65f0376f101773c4cb5fd89f19c07c9729.zip |
sys-devel/gcc: add 11.3.1_p20230407
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/gcc/Manifest | 1 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-11.3.1_p20230407.ebuild | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest index b198d50eb4b1..e57bfd6f9fcc 100644 --- a/sys-devel/gcc/Manifest +++ b/sys-devel/gcc/Manifest @@ -14,6 +14,7 @@ DIST gcc-11-20230120.tar.xz 76201244 BLAKE2B 07bc819dad3e2ee3747f09f43fd73a4263f DIST gcc-11-20230303.tar.xz 76131828 BLAKE2B ad73cf9b11f4a70be922ebc2a934e8d5f863582ebb662fe74c71b5880c9d6617cc80233456bde70a7867d788fa1f72262f1ef069f23ff85a423c5eede3e7d3c7 SHA512 3b310b87f7d7423a727f2348038add5b76f923b0baf528d061e45a1030eefb538f4175866dc6e7e70852a794de0ab62798965ea1e574bfe62ccae35fe4b2b00b DIST gcc-11-20230324.tar.xz 76152596 BLAKE2B 39540946ca30791a66d8e5273ebd658bbd3d542c4a215850039e7070951b3bedb2550ede0c10bb1620d24ea5f05f79b737ceb9ae8e372fad692ae7102d1467e5 SHA512 9ba29007e9baf05c0a02024b3b1130f8a850a06b3e8c9452368dcd3f75b026a9bb66649acebfa1c6c68e82f969c8e5a10aa01f917c88b1e5c9ab46574193af33 DIST gcc-11-20230331.tar.xz 76150736 BLAKE2B cdc47fffcbc06f99d5abc9321bff172d157cf0ba8a8508282703152b40005c6efcb0a2f58262ca63ee211a89b0ea571bd5a5463810bb11e381e953544e283ac9 SHA512 24a6db4bed4c3a8b79c1860083d4b5537ba5751484c48170f7b5d352aa3bb3434ef1409291425678dbdd1b0a246abe1bb5ead9135324776143efe42e80100d56 +DIST gcc-11-20230407.tar.xz 76144188 BLAKE2B 4a08a2387664e758331af7cc34387ea0ad449f1a46f0e6a51c92b279319b34221b22cf0cc426fe0406b0d8161042c3e229d202c4dbdad87c87dcf8f5ae5a70b9 SHA512 647ab458cd995698f126b13e3ee7ee6b94996c52c469d0e27e59d8cf371f99dbe902a591b8c911612d80aacf3e819aa183970980f1890424eb9f36d8f4d5911d DIST gcc-11.4.0-musl-patches-2.tar.xz 4308 BLAKE2B a2335e155fc57816fed822a648e0eaefafcba9d04e1ad0fd7baeea5a694ab6f5e3c1678cb406f2a1bd17bab25cb01699d032713a1ccf337948dfda2093844607 SHA512 17b84f907cb1bd763873655e6f35fd3ed55a40b602b70a626f04f83b4cc89c6261db1661de78d4d969187a8c56e9f6305b742515a3836b962248a21df0df5d0c DIST gcc-11.4.0-patches-3.tar.xz 15200 BLAKE2B a393df941a2a31164f477d6bc0032e28319e8f0bd87200eb453708f85aa8c0bf5d67e733ee7b75cf6d14743e18cc941cee1b77a8247f8c5683d17a98cbeb280f SHA512 6f6096d95c7c62780d1070097739882393a8df5172c3a5ae811a8d4d1c98a0cd14a34f3f7e95410c8f210aec434330ac3b8876c688faeb130d7bb8fa3333ece9 DIST gcc-11.4.0-patches-7.tar.xz 14416 BLAKE2B 3ebf62cba04cac8830a93a99d11c21347c38891db3a81493a10e02e8b7af0c86389ffbede50672dfe1189a77a67b832f8f97a1d95d43eff11db131a143b1d03d SHA512 41e2ed1ccf6d3631accccdab057877c79c99eb1b3c32f9d35628bca6c633c4f8dadb1d7f93bed2e4d7ff9f36cc9e46ea00f0e57e8af64b2e5f4b3b01285c6da3 diff --git a/sys-devel/gcc/gcc-11.3.1_p20230407.ebuild b/sys-devel/gcc/gcc-11.3.1_p20230407.ebuild new file mode 100644 index 000000000000..a30fa066e31c --- /dev/null +++ b/sys-devel/gcc/gcc-11.3.1_p20230407.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +TOOLCHAIN_PATCH_SUFFIX="xz" +TOOLCHAIN_PATCH_DEV="sam" +PATCH_VER="8" +PATCH_GCC_VER="11.4.0" +MUSL_VER="2" +MUSL_GCC_VER="11.4.0" + +if [[ $(ver_cut 3) == 9999 ]] ; then + MY_PV_2=$(ver_cut 2) + if [[ ${MY_PV_2} == 0 ]] ; then + MY_PV_2=0 + else + MY_PV_2=$(($(ver_cut 2) - 1)) + fi + + # e.g. 12.2.9999 -> 12.1.1 + TOOLCHAIN_GCC_PV=$(ver_cut 1).${MY_PV_2}.$(($(ver_cut 3) - 9998)) +fi + +inherit toolchain +# Needs to be after inherit (for now?), bug #830908 +EGIT_BRANCH=releases/gcc-$(ver_cut 1) + +# Don't keyword live ebuilds +#if ! tc_is_live && [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then +# 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 +} |