summaryrefslogtreecommitdiff
path: root/sys-devel/gcc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-12-20 13:51:21 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-12-20 13:51:21 +0000
commit4161fa7d1be6dac96e36f8ed343f234a8ef3a74f (patch)
treeee6d7260a8c03fb6191fead616b7dd50f07a7aa4 /sys-devel/gcc
parentef4d67f1907798e309efed58d673fd60594a14a8 (diff)
gentoo auto-resync : 20:12:2022 - 13:51:21
Diffstat (limited to 'sys-devel/gcc')
-rw-r--r--sys-devel/gcc/Manifest2
-rw-r--r--sys-devel/gcc/gcc-13.0.0_pre20221218.ebuild53
2 files changed, 55 insertions, 0 deletions
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest
index 820b0b2fac7e..7308052dc82c 100644
--- a/sys-devel/gcc/Manifest
+++ b/sys-devel/gcc/Manifest
@@ -26,6 +26,7 @@ DIST gcc-12.2.0-patches-6.tar.xz 19096 BLAKE2B 9d97f4b1d4c82c00d6bac923963444198
DIST gcc-12.2.0.tar.xz 84645292 BLAKE2B 715574af9ad678f9dc8cfd19c866bf910c7edfd479e7e9681337feaa9b54e5d304ddb85483816b8d89754d502405823ae2eff0d1e444538763f40be8e428d8da SHA512 e9e857bd81bf7a370307d6848c81b2f5403db8c7b5207f54bce3f3faac3bde63445684092c2bc1a2427cddb6f7746496d9fbbef05fbbd77f2810b2998f1f9173
DIST gcc-13-20221204.tar.xz 80748844 BLAKE2B a5ea8a72b475991602ebff668e50f03e1c9343083e33d3f1a02499fed59cdd6214743567e79d866851ed4506cabc2ff52b6e1634eabfff9deca19d4402382d36 SHA512 b40b800d4369cb899f0a8224d15e7a78f6b182d8490de01ab1520647862263cc478f49f021172c91c2c6d39cbbc4ec92e18644cf3bab5a0df44dabbc3b7c6702
DIST gcc-13-20221211.tar.xz 80786948 BLAKE2B e7fc58b53584d5269f889ec2575de6b50d9b9fff9b6e71749979a3e47291465dbc26600790e5ab66993e666cd654d7e4663d0d9ce2b51c7ac7e50b8300a18aa2 SHA512 dcb51c9f6654dd1730943468d72084eed869d8ea09e1645e066cdb3a9ff8be2439082d43de620e045e66b3b894f21163b665166b02942821485b2b06a5180782
+DIST gcc-13-20221218.tar.xz 82692928 BLAKE2B d68af44da5708d6433cc4c409d93d725111bd69fa76d49e8354043ad2bb8aa8cb396489151442910fc4544fedd5290277aa8934aac5c24332c0963dc4605c149 SHA512 27b98455bedecbd8cf70f6357924ca1ad45f79ce4a50aefcbcf5b14f6c6a0a5c60fda5b85e7c2c24cf8ce65233dc1eda72c5e48dd0cac699ded1e72c32f0164d
DIST gcc-13.1.0-patches-3.tar.xz 10984 BLAKE2B b032049090732e39c94788f4014a463e82fe186ad9ca5ca7ec1d522dfc4499bd2c229bc3bed7ed1d4e1e5f196444037acdea8b865d62c164d6daf307f949e307 SHA512 940d5f1e7f8cb48e9e6d63b5cd31dc5e4bd1669c78b3adfa6b7c30d3f85d8de4f26c1db4e3727f3789b1d439d07d3eeb9a8120f45693da6c2e6d9ca27e264941
DIST gcc-13.1.0-patches-5.tar.xz 11404 BLAKE2B 5ba2b4002e917750757a28fa4c7ff6ff7090c35f28eb984aee6ad7fc0ac80c88a9d08e1d4d9efa98e6bd3f06e89df47b10b51f8294bb7d2ef0d1ac3fd2a1a963 SHA512 6864738794237bd7430c612404dd4b84e275362cb5abd081284a91e5b24c1b0aa97d90b9543168c72147be146887219715325d52ae2920912d9c4e17e7224aa3
DIST gcc-8.5.0-patches-2.tar.bz2 16921 BLAKE2B 619a47f74edf05fa01c9de59d0ff7abb027a01cf0bdec91ac41046166192f4eae561684136c4a6a5e077f64754bb5b0710905129f31b0def21d88f92e6bba7fb SHA512 b6095d4570895e2c4dd58fed5756194aea27391b813e5e2de42b2749cb318c4bea2087eb0ff92c70e7f98ae4482c49d476db57be83d7beb19fd462aa61714ab2
@@ -47,6 +48,7 @@ EBUILD gcc-12.2.1_p20221217.ebuild 1437 BLAKE2B de2f0a2e991ddcab25529e9953e6ddef
EBUILD gcc-12.3.9999.ebuild 1545 BLAKE2B 78fdc4a7b20d22bba137cba00e49d2249c5616bf1c4cf619162da1d98c750fb3da71fbb1cd4e136624cc4e0a112547e6c4c29992aa58ab12507917c7d728831a SHA512 f3562696a79035e64b8e79cee720fe24c7041bf922d79e5cff1ae864a533997995465d0871bfc4f87f6d5a66e7f8ac02c490792554a0628ae30d96a061ef9279
EBUILD gcc-13.0.0_pre20221204.ebuild 1287 BLAKE2B c232b4a8ce9955849c4878c45ff6eaf9b7895ee3577a58aa3dcd745e191a3cb8b77e59f394f6f6185d291ac228f241a2ae9c023894d8a7666d906fdd938366ce SHA512 217d33d88272e90afcb1ccdbd005bf2ae87748f9bee6ce8e989f443648047d91544e3544184e7e2d605aaafbef160b21a1269b066109e1a4f0de1a209185fc7d
EBUILD gcc-13.0.0_pre20221211.ebuild 1286 BLAKE2B 5dbd2f3d4a436938f80d6303dad46a43b01a379aa9d170412168c7c560088468d35ed22ed15ada6dcb86c03f7f87c8243483da89ee3d67ce40b6f2aae5168213 SHA512 b949a2d0ecfd08ed0d449dfb0743aca3568339b5e85885d77ae4a2a67d7e86594a7271b1e360717ebd22a2323795300d0e2fc2c3dc53df2306a9a1528fc62fdf
+EBUILD gcc-13.0.0_pre20221218.ebuild 1286 BLAKE2B 5dbd2f3d4a436938f80d6303dad46a43b01a379aa9d170412168c7c560088468d35ed22ed15ada6dcb86c03f7f87c8243483da89ee3d67ce40b6f2aae5168213 SHA512 b949a2d0ecfd08ed0d449dfb0743aca3568339b5e85885d77ae4a2a67d7e86594a7271b1e360717ebd22a2323795300d0e2fc2c3dc53df2306a9a1528fc62fdf
EBUILD gcc-13.0.9999.ebuild 1252 BLAKE2B dbc0cdcbb6bae2177185c41fa014a0c98e05a8101f33e12975e2af951e25539117b9279573770b5d17261032b0c51d80864140417a13b152aa34739c28c0f0c3 SHA512 96e940c83f9e58b7b929c5293ca44582c266d3e10615f6aded5cd0b11cb1d46306382fea04227040a7d7cbfdc0f042e3b1c89a0e617193bbfadea50a4732e9a2
EBUILD gcc-8.5.0-r1.ebuild 473 BLAKE2B 40d3b651d0aed62ceb1df973f1f7e2b6ce419df22da63e49d335fcd0bf7b349d1e7be40dc16e80fe143222d48ac6139d35bf47558d83c30aab4b25dba6fcf6cb SHA512 b88761a3495a1eab0de5321c9230c77cd621ae545d3be49a13273cfcd8e94cc21dbb062bfdebb64dc5bfe1ddd600ee8fb60df6fd7709a7be90915b7e99a8db29
EBUILD gcc-9.5.0.ebuild 844 BLAKE2B 7bee440ddb624d5489ebaa9be899c530bdf7d9563453a9abf45e60d1f3ed66a78535cb9227e66e93524071fbca447786e2133ea316b5b2b55366e2599c587be6 SHA512 4b578a481eb06ff5b445bbd81cf18d4d63ec2d65230e33f95377f270b391bde02c2083a1b46b43838bd115be7d75c3957258f72fb5e7d89ba79185d08195b9ec
diff --git a/sys-devel/gcc/gcc-13.0.0_pre20221218.ebuild b/sys-devel/gcc/gcc-13.0.0_pre20221218.ebuild
new file mode 100644
index 000000000000..d4606768767d
--- /dev/null
+++ b/sys-devel/gcc/gcc-13.0.0_pre20221218.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+TOOLCHAIN_PATCH_DEV="sam"
+PATCH_VER="5"
+PATCH_GCC_VER="13.1.0"
+MUSL_GCC_VER="13.1.0"
+
+if [[ $(ver_cut 3) == 9999 ]] ; then
+ MY_PV_2=$(ver_cut 2)
+ MY_PV_3=$(($(ver_cut 3) - 9998))
+ if [[ ${MY_PV_2} == 0 ]] ; then
+ MY_PV_2=0
+ MY_PV_3=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}.${MY_PV_3}
+fi
+
+inherit toolchain
+# Needs to be after inherit (for now?), bug #830908
+EGIT_BRANCH=master
+
+# Don't keyword live ebuilds
+if ! tc_is_live && [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then
+# KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+ KEYWORDS="~loong"
+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[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
+}