diff options
author | Sam James <sam@gentoo.org> | 2022-06-11 02:52:21 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-06-11 02:52:29 +0100 |
commit | 4bd6ebf3d0bf6304fa18f1d0d3299f7ea5536ae0 (patch) | |
tree | 355d981784dbce6540af2ca793c27dad907d6b28 /sys-devel/gcc | |
parent | sys-apps/file: add 5.42 (diff) | |
download | gentoo-4bd6ebf3d0bf6304fa18f1d0d3299f7ea5536ae0.tar.gz gentoo-4bd6ebf3d0bf6304fa18f1d0d3299f7ea5536ae0.tar.bz2 gentoo-4bd6ebf3d0bf6304fa18f1d0d3299f7ea5536ae0.zip |
sys-devel/gcc: add 11.3.1_p20220610
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-devel/gcc')
-rw-r--r-- | sys-devel/gcc/Manifest | 1 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-11.3.1_p20220610.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest index 2d116bdff27b..789ec6e3bdec 100644 --- a/sys-devel/gcc/Manifest +++ b/sys-devel/gcc/Manifest @@ -11,6 +11,7 @@ DIST gcc-10.4.0-patches-1.tar.xz 14392 BLAKE2B 76cc16bb611f1ac2020f0f430fc3f038e DIST gcc-11-20220115.tar.xz 75676672 BLAKE2B 12171fd97731dbca67f13cc2a3a3a3989c22d628b289cbd3d46080f77a8d951f15c1e54e83a2e62ab41b69221f9784e970799a11a9ed5b224a77ba4b1b081f07 SHA512 7455b3b29d3c64df9123afef82faf922d97e08a3ea30fbc2d9286d4f6ed2fafbfc0f9d94ae1b9eee45329e95a27bd642b3aa679d83a0c27a3e30967d49e0728c DIST gcc-11-20220527.tar.xz 75770720 BLAKE2B 60b5457c022ba61615ae9ffd930ad19d96cb925713c0c883c44c9eb7b687ba1f9ac3c7bee0b50e43d6130fdd079696e9baf8bcac2584663fee695dd642f00a18 SHA512 74cdece429fa90ceb1c12dcae5241a53c4f222b14e4b5e50be8cf1b1a37582c9b63485492c1a3adb969c3a51964e8090182f6bf709390fb14002199a6d444005 DIST gcc-11-20220603.tar.xz 75766680 BLAKE2B 03ca98cf3885785915d032296c6ee96429b849ecfe2ab3fb510044241a85dc29c91bf4d400fa89d5dac8cdf410ae6a4c50149a266fa0188182f45d55a8b76197 SHA512 b2e63821d08aa5a30e54872015c6790bfc173a90788ba64c7c6fe68e0e5cb4af730d9fdd7bf502959777ad4ba859e080b41216e52dd5b12e6ed7085b35210448 +DIST gcc-11-20220610.tar.xz 75771324 BLAKE2B ab3d2792b778961db0fedf0d965f37deec87832686ca127475146820c1f9b3a1c6872b9170c811288e891baf9de90e7dcce2f4ace96dbba0d96fff9d2757fb8d SHA512 17f70761378dd3b7bba341abfdb9274abe1bf75e61d6dd59edd5befcd10ddc02cad7fcb8f07eb0d10449b405066aa78fe8945f95e870f20b464ca90072a394d8 DIST gcc-11.2.0-musl-patches-1.tar.bz2 2999 BLAKE2B 3e36bbf2f93fdce15e20f807fa262f7a7abbde85b6f6b4e1383f6eccd8a53d876687d56cde83a80cde8a50e15bec407a1212aa0c85520892563e3d5ef7aaca98 SHA512 21483912a7b152f27db82d837a4cf91f2552d5fe238702aeca0c0dd8c7d3695bc70d8794c94a19106df28e053baf14c38433ca8e38e849082b76273cb51f2384 DIST gcc-11.2.0-patches-1.tar.bz2 11537 BLAKE2B 9dd791ada244c9b70b8b99f9f305a688c248134715ed1b26d406e53b114983faae6873cdc521497164388d24d5f61c199e98df146bc02f5578e877295bcf5c82 SHA512 6539efc60c656d0798a5896dc1b944ed69914b815102c7a1c10bdba4ef935abd326b01309f38316e121f1ed90ceb2abcaf65df6af116892daad829ac2623cefc DIST gcc-11.2.0.tar.xz 80888824 BLAKE2B 69b61234ac436edfea2933df68c434a2ce7aa4454ef4da573e82587e1a42dc420189e949cfdadaf4cb37fc0de9674822210a95b77ff03aca0dbedfe67df19cc6 SHA512 d53a0a966230895c54f01aea38696f818817b505f1e2bfa65e508753fcd01b2aedb4a61434f41f3a2ddbbd9f41384b96153c684ded3f0fa97c82758d9de5c7cf diff --git a/sys-devel/gcc/gcc-11.3.1_p20220610.ebuild b/sys-devel/gcc/gcc-11.3.1_p20220610.ebuild new file mode 100644 index 000000000000..66746a359bd7 --- /dev/null +++ b/sys-devel/gcc/gcc-11.3.1_p20220610.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +TOOLCHAIN_PATCH_SUFFIX="xz" +TOOLCHAIN_PATCH_DEV="sam" +PATCH_VER="0" +PATCH_GCC_VER="11.4.0" +MUSL_VER="0" +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 + +# 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(-)?]" + +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 +} |