diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-17 06:49:08 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-17 06:49:08 +0000 |
commit | 2bf68d7062b64d9f815f3b8ce6942a66afe53b0d (patch) | |
tree | ac1e773aaa4d3575d18d178ae260cab963bbf64c /sys-devel | |
parent | cd356b722fd8d162f02a5059fae1a66e00be52e3 (diff) |
gentoo auto-resync : 17:03:2024 - 06:49:08
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/Manifest.gz | bin | 7691 -> 7690 bytes | |||
-rw-r--r-- | sys-devel/gcc/Manifest | 2 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-13.2.1_p20240316.ebuild | 65 |
3 files changed, 67 insertions, 0 deletions
diff --git a/sys-devel/Manifest.gz b/sys-devel/Manifest.gz Binary files differindex 07b3c8ef2340..309921746962 100644 --- a/sys-devel/Manifest.gz +++ b/sys-devel/Manifest.gz diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest index 592beb232885..7612bc7b17b5 100644 --- a/sys-devel/gcc/Manifest +++ b/sys-devel/gcc/Manifest @@ -27,6 +27,7 @@ DIST gcc-13-20240210.tar.xz 84354416 BLAKE2B 5807623d3f7dd751b6dfe164cfd50d57b2f DIST gcc-13-20240224.tar.xz 84381840 BLAKE2B c40a3610bd65ac3cb7a1c5e446b202af33bce93e35795bd67b805f5b323e11d769020587dcb382ce4dd69cee3005882b5e1508651271d174656c1aba2187cb3f SHA512 bc5909ecb7ce717908801e4088e547b863a62517fca3f861b53579efbfc8b01566d2c99124a48a40439198b3a48a9eca958ed0e910ffe94e278db0b91e57987a DIST gcc-13-20240302.tar.xz 84369428 BLAKE2B 0fdf900b46fe169293a9f83978336d5d3c20625a21223e68c6eeb8eecae2b5eeaf2bc228b7b4efbed1de694c72a6f01ca571b901417db797f554942a1ee7adea SHA512 bdebd939c733ead675a7428731968818e0ca9827ae6216d7811e04c566c683bc2eb3a4e6eee0951a81fd73e0461fb7aa3b4026b95d9e5954a20bca6e459eb12f DIST gcc-13-20240309.tar.xz 84389404 BLAKE2B 1c3770da42adc26d49a43c05bcd574193666c9969a55ac8cf3ecbb7bd15498d1b55712831aee2e91cb744ca005544a96ce4d4b5b53fccb3cad100cab986d1119 SHA512 2d1e0374ebdee526f0549319fc9c364968c52a0d4aaa16759f00453cb083fe58d8f463c47d97f3bb74a0a92e251989eb75a50ee5800b4569978c72d25446b44e +DIST gcc-13-20240316.tar.xz 84395460 BLAKE2B 6c8819acdee01a28751f007c91d0d22e15326ec64e32f824da513738e90cca950e64773043d2688ae9e2519f91b7333e58a76d3e8b6e03a21e01407afabdb62c SHA512 e2241e407ee6a407f8f3d51668c3cab6981e56ca249f3e37215e7ff90bf85e126388e0fe62de1f452aa12378a144755c4ff24eaf9ffab6d0cd6757c3924e1d96 DIST gcc-13.2.0-musl-patches-2.tar.xz 5292 BLAKE2B c057d6574d03c05854edaa9f3fd40e9149662b04f3ac7a7db3eb078d73a7b535726d1bf52e5b12736dedb2f9898ad731f2e48a6421fcfbf7b90f929dee072fcb SHA512 a691da0c87c443a5e9d23731f4005f27871c5b12bc9102873ffa24d374aa7b9fbd187c4f5635d23fa9ffb17e351e76173c2d3fdf40646e355c4cb314b538de69 DIST gcc-13.2.0-patches-12.tar.xz 47404 BLAKE2B ed018bcd7429d1c7aace746cbfc4e59dae409fc0a35231320c1b44c96fff0d912eba5c72109c2deb883f5368159df02148b2d4373396b34da882164c61fe4387 SHA512 b7872a03870bce7b633e4af4329b24fe8f3d50d6d9173f63549f606ce062787748af7f79e7ec4afeb768968d6e8462a849bd1b94316ea6bb284551f99e811617 DIST gcc-13.2.0-patches-14.tar.xz 46928 BLAKE2B fce23bc5315f35b04a4976550c4b44578944a1b17e40c7553351eeb8a1ef0f3a2538da5a5e1ae6f37b784ff11bbd8a44b8f6eec542be63e34d984dee69e1cd81 SHA512 d7d52bb2915fd89c06b0134bede8db939cadbb1f2dcddf923bee2c3f9f577ff9e5e986b60420d892539edf82867a0d1bd635807814bc618b06a2b37cdaca893a @@ -62,6 +63,7 @@ EBUILD gcc-13.2.1_p20240210.ebuild 1684 BLAKE2B 33aae1121ba6e142ad3368b1b78cde03 EBUILD gcc-13.2.1_p20240224.ebuild 1692 BLAKE2B 055539db9cc25da4b33661f20ac6673e86ce9e45ef0d16e2f64557dc59dcc19a0954662c0239502128695187b71eb4dba97d9276be0e2f70a8cf4a797205db11 SHA512 d005f74799255fa5b91e5e3b11fae1e9ea32856af1ff1b949538c0df724abf1a54b91ef4c36e6d8bc95c7ece5d146024b60e572fd11a551db02ad309ab9b438a EBUILD gcc-13.2.1_p20240302.ebuild 1692 BLAKE2B 055539db9cc25da4b33661f20ac6673e86ce9e45ef0d16e2f64557dc59dcc19a0954662c0239502128695187b71eb4dba97d9276be0e2f70a8cf4a797205db11 SHA512 d005f74799255fa5b91e5e3b11fae1e9ea32856af1ff1b949538c0df724abf1a54b91ef4c36e6d8bc95c7ece5d146024b60e572fd11a551db02ad309ab9b438a EBUILD gcc-13.2.1_p20240309.ebuild 1692 BLAKE2B 055539db9cc25da4b33661f20ac6673e86ce9e45ef0d16e2f64557dc59dcc19a0954662c0239502128695187b71eb4dba97d9276be0e2f70a8cf4a797205db11 SHA512 d005f74799255fa5b91e5e3b11fae1e9ea32856af1ff1b949538c0df724abf1a54b91ef4c36e6d8bc95c7ece5d146024b60e572fd11a551db02ad309ab9b438a +EBUILD gcc-13.2.1_p20240316.ebuild 1692 BLAKE2B 055539db9cc25da4b33661f20ac6673e86ce9e45ef0d16e2f64557dc59dcc19a0954662c0239502128695187b71eb4dba97d9276be0e2f70a8cf4a797205db11 SHA512 d005f74799255fa5b91e5e3b11fae1e9ea32856af1ff1b949538c0df724abf1a54b91ef4c36e6d8bc95c7ece5d146024b60e572fd11a551db02ad309ab9b438a EBUILD gcc-13.3.9999.ebuild 1600 BLAKE2B a493b23104c93f8258f0a93f9d914a81c4c65cc0a4b310d14916fa75fe298b66973b63f6136f81edb32a2b684c5869ab8d579e952613ef3f96101e4a778e3db5 SHA512 f52891ac4bc90f8bf3d277a104693a9bad9d8e283596051e4369d02944cd880f0559fbe0ac15d8ea288b60d7d755986adbad2128ec74d7b9d7e9bb30a4fdffda EBUILD gcc-14.0.1_pre20240218.ebuild 1607 BLAKE2B 5595bf2b06b363334654d1930a90846452b428738d9f8758d40316362d98573a83624d290e15cf1fe3651061f70caaacd764b61ed79d3cdfca36d9d0bb1e66b5 SHA512 9f62e4555fd8f312c66a1bd75e490f1eb32410606c0bfd8d289f29a87078527d1934a1e33de69e870e1912e106852c1fdea5188998f56157bc62f8f16cad17d2 EBUILD gcc-14.0.1_pre20240225.ebuild 1666 BLAKE2B a9ea258ceb6b3d517fef2ec697d81f7cf2be3c75201cddd12fc42b3c16b18c5ac4cb5fcd05518b2e933f080d593d69c68d620928f9cb6fa3a4317eb902f3bfba SHA512 a4314535c03d43584819d41d6235efd7e77cdb14ff7297d775d96bf7dbc3fa21c048339c5c9e8c9a19285528500f01c66041a913e089fae9959c32ea83503eee diff --git a/sys-devel/gcc/gcc-13.2.1_p20240316.ebuild b/sys-devel/gcc/gcc-13.2.1_p20240316.ebuild new file mode 100644 index 000000000000..7e4df3343e31 --- /dev/null +++ b/sys-devel/gcc/gcc-13.2.1_p20240316.ebuild @@ -0,0 +1,65 @@ +# 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="14" +MUSL_VER="2" +MUSL_GCC_VER="13.2.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 ~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 +} |