diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-26 04:04:26 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-26 04:04:26 +0100 |
commit | d0349ca0f4903608beca459a9db2068dab9fa6ea (patch) | |
tree | a69bc9c4a75f35ecabd3909a181128faf8c0e75b /sys-devel/gcc | |
parent | b11a5614cb96e70e116581c98abf286c2cf694ca (diff) |
gentoo auto-resync : 26:10:2024 - 04:04:26
Diffstat (limited to 'sys-devel/gcc')
-rw-r--r-- | sys-devel/gcc/Manifest | 2 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-13.3.1_p20241025.ebuild | 66 |
2 files changed, 68 insertions, 0 deletions
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest index 0c00c3716e9b..b1f144633c5b 100644 --- a/sys-devel/gcc/Manifest +++ b/sys-devel/gcc/Manifest @@ -14,6 +14,7 @@ DIST gcc-12.4.0.tar.xz 83377372 BLAKE2B 0d5aa9995bf53fa2dc976a846240cfb8fafd125a DIST gcc-13-20240614.tar.xz 84463660 BLAKE2B a1b551ff633c31d6972fed173f248ba5f6696eb1566801e180b78a7c7e20933b1aaae40839b4f1529d61166de55125395d4f9a812511c088e73f975bf1d2167f SHA512 1a543ddfb56e793367a43895a7ce4f97daeca6ffd5234ce50e8a7ae0f8db1071e01bdd653fda40d00eb7a680faead8f1d8d1295f983086a33a4c75e4affa2ea5 DIST gcc-13-20240920.tar.xz 84477260 BLAKE2B f9f0c376d2849a55a61ac5bbbdb456d160e861e8f0acb34651960aa680ec5e8e6d6bdbdeab94c02e51ad1766bd24e5f2dba3a386f6735ea103181dbc1348a943 SHA512 5b7304ea0032a3bd6f111c8da0a9f12958f45e9f117d408e02e8b4892157462c5643891bcedbded7386f5f9987d16a922bd21bd05ad33167379e1579b7baf1aa DIST gcc-13-20241018.tar.xz 84511076 BLAKE2B e1efcaac11ef1abf705c06d5fba724726e9d251859b00bc182f263a1dca5ecdefb1a867e9932dd3ee724be4f109eda0c5ce1a5e542762b2a4cc1d4af7c517bde SHA512 c24b374b97bbcabea9aa5fc81a0fac95a67c6f3739392d8fcf45f5663e4564134a8dcc88574b14262a53face24a2f2e3c1c488efce993bcbc67b28fc2f969476 +DIST gcc-13-20241025.tar.xz 84501292 BLAKE2B f5ba0a429a43d1936fe717850c81c847c90670204de33261fd476396336a1e1cc34c55d5487ac1871a4019c8a3aff59b6c8fdea3f1b7a161a73dbec8679c4d3a SHA512 a921afd451cdad55ee68bdb36861ca0c525de038d247f6e0ff59dbbdb3b41f03d139e7c2939a0999feb8b2f820f9267171a2c657683df0c86b38f0cb379eb0af DIST gcc-13.2.0-musl-patches-2.tar.xz 5292 BLAKE2B c057d6574d03c05854edaa9f3fd40e9149662b04f3ac7a7db3eb078d73a7b535726d1bf52e5b12736dedb2f9898ad731f2e48a6421fcfbf7b90f929dee072fcb SHA512 a691da0c87c443a5e9d23731f4005f27871c5b12bc9102873ffa24d374aa7b9fbd187c4f5635d23fa9ffb17e351e76173c2d3fdf40646e355c4cb314b538de69 DIST gcc-13.2.0-patches-16.tar.xz 44792 BLAKE2B 0b6b584d68e69685638695596b780249ca0119ad362747a82d886fd10f77ceb05d02e033e906a090c67f44b1977f40df6a95206d81a32dd15e2f5413c6c92496 SHA512 324d9e63d16c35d55edde20de049162c01b0d487b4548d06c49f0da04a761ec255bc5e020cc2e7f60d12f5d129768afdcf7c86a59126f71f388ab375c34be6de DIST gcc-13.2.0-patches-3.tar.xz 30956 BLAKE2B 29ce043b46645640ca1e983397af3e158588ad87575f0bc59451ea4a7dd5e3bb5b190ed031de6a22cd790d423ba111e95d222187dd09985dceb12db9f0a2d907 SHA512 4ffecae7be320124ad0c4e71e39e142b7aa8db0e70b5f486f491d7a33ea31efc6464c6abeea77df02a8bd5cf81f08225d625c8af5c27f9afa32c0d7d989f7a3c @@ -43,6 +44,7 @@ EBUILD gcc-13.2.0.ebuild 1682 BLAKE2B 5a19639504afafced19bd1ad913e3106a65d16b4b3 EBUILD gcc-13.3.1_p20240614.ebuild 1674 BLAKE2B 371c78ae5036d48e0b96fc621e6a7eb35347d810ad68c6f11d4702f8634e333fe1802cfbb2078c9a35ef18325b32fa7b3b898050eb9d65178ef1e3f24d990f84 SHA512 4fe1522f2700782bac8235524d95d3b596c6783dd08577f17e319c5d58650938a93d40e2dd07a4707cae60310247c83418c3dd31515346566e0d476cc79c9731 EBUILD gcc-13.3.1_p20240920.ebuild 1682 BLAKE2B 7a2f2307d2ce44655249c3e96a0fec619b75c60b3d070d2805e9f1a7aeab15dc8d607ec5ac64465c5fd6c591ba6c1d0bf43850390d8a4b5d010783e5741df63f SHA512 cea95a6a8259e8e88677d3c9e0b652aa2927bb435b5d5e2e0736aed97f6114342b2b3d235de92f4bdfe97a1b7101d99e4f3f82f0319dfbf5da1d0cb00a6307b3 EBUILD gcc-13.3.1_p20241018.ebuild 1683 BLAKE2B a922595b41f142c96c1c540848375b16aaf16d68fa8dcce80a2f1cb645a60e27518da27137fcfdab67adb52f292f8e3ef38e2ea8e1108ae0acd218be6a6f7e4c SHA512 9eb5650b04c5988e083525ef2a5eac9ffcbcc030a882c24f6a872d140aae5f64ae6fd1b7e9d5048a437ea767f559e582b718c8edec8b8eedc1d3635eb52aa493 +EBUILD gcc-13.3.1_p20241025.ebuild 1683 BLAKE2B a922595b41f142c96c1c540848375b16aaf16d68fa8dcce80a2f1cb645a60e27518da27137fcfdab67adb52f292f8e3ef38e2ea8e1108ae0acd218be6a6f7e4c SHA512 9eb5650b04c5988e083525ef2a5eac9ffcbcc030a882c24f6a872d140aae5f64ae6fd1b7e9d5048a437ea767f559e582b718c8edec8b8eedc1d3635eb52aa493 EBUILD gcc-13.4.9999.ebuild 1679 BLAKE2B 480cd313584e1170b6948893bf6eaec6fed930db66038f5e0dc60ca279e7469ba41b416cb7e0261aafda3ee704815ae8d034ee9a523a46fb96f023621bc58446 SHA512 c34bdd3646469d69bea6457c4f91107ea22c14d9a0e75e4cd1b8b75297a8a5b073adf37c8609d62d00584fe6dcfa7cf22c460210d6550bb69dcffc570e9521b0 EBUILD gcc-14.2.1_p20240817.ebuild 1439 BLAKE2B fd86390a315a3ddd884bf2818eeaead7d08a75454bcdd649e4b31f10f44020f6c9cbc22d6c99af427a146440db10bf1374e0f488efcb703dabbb8c55e21f7e04 SHA512 99cef96899f5bf926eb9ac15b433e51419bbd5f9f40d104eeb38462b9d8f009c8002677daa1f7356b11aa0ad71adda9d39227e868f550969a1ff0a84fba92f26 EBUILD gcc-14.2.1_p20240921.ebuild 1439 BLAKE2B fd86390a315a3ddd884bf2818eeaead7d08a75454bcdd649e4b31f10f44020f6c9cbc22d6c99af427a146440db10bf1374e0f488efcb703dabbb8c55e21f7e04 SHA512 99cef96899f5bf926eb9ac15b433e51419bbd5f9f40d104eeb38462b9d8f009c8002677daa1f7356b11aa0ad71adda9d39227e868f550969a1ff0a84fba92f26 diff --git a/sys-devel/gcc/gcc-13.3.1_p20241025.ebuild b/sys-devel/gcc/gcc-13.3.1_p20241025.ebuild new file mode 100644 index 000000000000..6bff7d382179 --- /dev/null +++ b/sys-devel/gcc/gcc-13.3.1_p20241025.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" +TOOLCHAIN_HAS_TESTS=1 +PATCH_GCC_VER="13.3.0" +MUSL_GCC_VER="13.2.0" +PATCH_VER="1" +MUSL_VER="2" +PYTHON_COMPAT=( python3_{10..12} ) + +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 ~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}" +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 +} |