diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-27 23:59:43 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-27 23:59:43 +0100 |
commit | 413421048cc2b0df9a218f0ab3cb151846809eb5 (patch) | |
tree | 3fd887035aa0f5b65d7f147ab77caa98c44c148d /sys-devel/gcc | |
parent | 3e42d1577189af123b773dc0f11e5419035308c8 (diff) |
gentoo auto-resync : 27:04:2024 - 23:59:42
Diffstat (limited to 'sys-devel/gcc')
-rw-r--r-- | sys-devel/gcc/Manifest | 2 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-13.2.1_p20240426.ebuild | 66 |
2 files changed, 68 insertions, 0 deletions
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest index 69cc4fb3c208..24ee1e2d4139 100644 --- a/sys-devel/gcc/Manifest +++ b/sys-devel/gcc/Manifest @@ -15,6 +15,7 @@ DIST gcc-12.3.0-musl-patches-1.tar.xz 3572 BLAKE2B c7bf65f7c9ea8023ddaac821ee2b7 DIST gcc-12.3.0-patches-3.tar.xz 14852 BLAKE2B 7a5f1f43063b15f424099afd72096212fbbbc5151ff01f2de15dfb6e7cf274981c8cfaedba9ef61576c9096fb172fc550a7deb5cd7d9366fd249fd5dd3951f76 SHA512 aa89e4c2ae02f4fb42229ad5167f2eaa3a8fae51118645bf07199fe2124b9c83948590662b053d08002ef709fa870ea88315fd4ccbe4441a74e9cb62edcb82fb DIST gcc-13-20240210.tar.xz 84354416 BLAKE2B 5807623d3f7dd751b6dfe164cfd50d57b2f93485c23c3c2228a4a846a9a94cdad52a5e6f2806e5e7ee2a7b5526386ebdb339c44c7ea023d69f8652088a1b114d SHA512 14a01ced7ac2bfd9fc93de4e3819b4d0823fbe129d3f1faabeb707e9e3e2613b4173321b58b3648a7250e3b7ff5d94edfee60e6c38682f31a1f7b57b1c01433f DIST gcc-13-20240420.tar.xz 84407856 BLAKE2B 188b92454735223a4da7af2b5b57bb52c6362778550aa6ddbc445d3a2e0700494db2f743da59961ceccb756791f01c23f76c83224daeaccfb561cd1d2e6ece7c SHA512 6be1fbb1cddebbccf38da4424af56e173d0c4a53e63ed3a9d86398f23053747a231287ce7bdeb5666ceeb4f3385dee228cc05fba19beaf4d7b2c9cbe1f14a489 +DIST gcc-13-20240426.tar.xz 84431012 BLAKE2B 0ea105269161eefb7e3af40e9adc2d7ecf656097178cae7fdc5ecba8f4318802dffa6c6949846c3be684d6d4a9cade8b79a99d9b1dda4dab269688eaea47c305 SHA512 e56561b7e32467c089e9bcf219d65cd65d5802899d0984df81614c72957c2107c69c3d78719cbe498177fa952ccd480ba8aa1a66659e42790187f404ccb429ce DIST gcc-13.2.0-musl-patches-2.tar.xz 5292 BLAKE2B c057d6574d03c05854edaa9f3fd40e9149662b04f3ac7a7db3eb078d73a7b535726d1bf52e5b12736dedb2f9898ad731f2e48a6421fcfbf7b90f929dee072fcb SHA512 a691da0c87c443a5e9d23731f4005f27871c5b12bc9102873ffa24d374aa7b9fbd187c4f5635d23fa9ffb17e351e76173c2d3fdf40646e355c4cb314b538de69 DIST gcc-13.2.0-patches-14.tar.xz 46928 BLAKE2B fce23bc5315f35b04a4976550c4b44578944a1b17e40c7553351eeb8a1ef0f3a2538da5a5e1ae6f37b784ff11bbd8a44b8f6eec542be63e34d984dee69e1cd81 SHA512 d7d52bb2915fd89c06b0134bede8db939cadbb1f2dcddf923bee2c3f9f577ff9e5e986b60420d892539edf82867a0d1bd635807814bc618b06a2b37cdaca893a DIST gcc-13.2.0-patches-15.tar.xz 47052 BLAKE2B f145341813d6baf9cbcc3e8421c7f427148503d2aeddd6a2eaac1ad3d470a818292392861542a7915d8b0f2f9b3255603f394b2e6833141658fc035bcd2b5366 SHA512 c89a3fccd944f03d25e076a967c3b220803ee9a6fbedec1daf2c20f629dd6162ce6be4f259522bd193169f0e8307daa9895b5d8581cf975ee086e5abfd675e34 @@ -36,6 +37,7 @@ EBUILD gcc-12.3.1_p20240419.ebuild 1667 BLAKE2B dc93952f0c0a2bfd5dcf107d5fabda72 EBUILD gcc-12.4.9999.ebuild 1635 BLAKE2B 0d06fd80b8a92a3fef8ca50261424d7a88a9c32ac1eb7944adc0f30dd157338ff252a92ef149819b0ad95b26860b8cb6daffc2e27fa5b864d0ce60a5f12d4585 SHA512 349ca2be138722efd8460a9ba825b1f2f054828b39e06beb8f18c2464c820aad10d6442660fccb1bcf862116a6ed5c819ec82b09ff96ac260075901ff189c22e EBUILD gcc-13.2.1_p20240210.ebuild 1718 BLAKE2B 4f27c5ae32d667d3baca68b242e36302d92cbdddc26bbdc8d942682887000c2e728798e08a032f3f51e14a4bd9b8e72a7499b04092fca0d1779dae6a730c71f3 SHA512 d0f3911a3a52044f9f7924b0fd465fc72269141e74dfcf37b7f064867c4586ed3a8cc9a0be1542a5945eb783fa343855c0fcde1aceb715ff227b5a118168dd1d EBUILD gcc-13.2.1_p20240420.ebuild 1727 BLAKE2B 1c5dbab007729b544a2f8daec33cb6f6912f2c0a49d43ffdf15dec9a3cfbd12e46a4ce0b6f5a193f4c47a21cb7d4ecc1a5bee1b4a00c91776786d99acdbd7a02 SHA512 edf0e5d3fea819fd4ffeaa5264acc3bcbf39f10d23d1c8c4b6af1189de7b0e724b874a7579517cb421345825ad01d2f4990c671380d8d4cca4e71611f788ec58 +EBUILD gcc-13.2.1_p20240426.ebuild 1727 BLAKE2B 1c5dbab007729b544a2f8daec33cb6f6912f2c0a49d43ffdf15dec9a3cfbd12e46a4ce0b6f5a193f4c47a21cb7d4ecc1a5bee1b4a00c91776786d99acdbd7a02 SHA512 edf0e5d3fea819fd4ffeaa5264acc3bcbf39f10d23d1c8c4b6af1189de7b0e724b874a7579517cb421345825ad01d2f4990c671380d8d4cca4e71611f788ec58 EBUILD gcc-13.3.9999.ebuild 1635 BLAKE2B dd8eb497c0352febec3886808c4837e880b858ea20e68135ea72432919a9a7ff4a7e130912c06aad1e6db31f30db3e697f7978df1644f181d824be0ddbfe096c SHA512 211e181b1c449adefeedd28f6e304eac634797e897c39418da28d0ab20f5f33cfae7c10710f007fa0690cd049abd6e4a5adbd5dd02aaa6f532cbb2a593692fc0 EBUILD gcc-14.0.1_pre20240421.ebuild 1701 BLAKE2B 2d766ac2a880ac88b323e78b7c15d1758509b2180908742742913a26d583b110204193188f23eee483d5ccba736e4ad26c51f668366df3678a92a887bd37d82c SHA512 836d8a4658144abc598d65271e97b38f94a9a8882f39e3400a319c66b1e82c07bf1171a52bd9f8c2869f80b4327976e00f35354e5387518bda419023c4d2ca21 EBUILD gcc-14.0.9999.ebuild 1394 BLAKE2B 04a968c90bce4d339e8733240f491d7ca8a1a13bf927440e502727de157073de7645e430978a7d01c70475fd4a048dbe7f4c05ca6429352589ef156f77104fe8 SHA512 065f34f3bbe67f60f89b360ead2e2384080280d3d6e2670a1a081c39d0ba67e7971b237085efb88117954de7bc5d6ce863a9cefc781473000d2eb92eb1629623 diff --git a/sys-devel/gcc/gcc-13.2.1_p20240426.ebuild b/sys-devel/gcc/gcc-13.2.1_p20240426.ebuild new file mode 100644 index 000000000000..2a22fc220b4c --- /dev/null +++ b/sys-devel/gcc/gcc-13.2.1_p20240426.ebuild @@ -0,0 +1,66 @@ +# 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="13.2.0" +PATCH_VER="15" +MUSL_VER="2" +MUSL_GCC_VER="13.2.0" +PYTHON_COMPAT=( python3_{10..11} ) + +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 ~loong ~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="amd64? ( >=${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 "${FILESDIR}"/${PN}-13-fix-cross-fixincludes.patch + eapply_user +} |