summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-06-03 03:26:55 +0100
committerSam James <sam@gentoo.org>2022-06-03 03:26:55 +0100
commit9be71eda3c68f79360d085a25f8db9c4786d2287 (patch)
tree6bab3b023dd7d5fb9497cda389b59306284db31d /sys-devel
parentsys-devel/gcc: stabilize 9.5.0 (diff)
downloadgentoo-9be71eda3c68f79360d085a25f8db9c4786d2287.tar.gz
gentoo-9be71eda3c68f79360d085a25f8db9c4786d2287.tar.bz2
gentoo-9be71eda3c68f79360d085a25f8db9c4786d2287.zip
sys-devel/gcc: add 10.3.1_p20220602
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/gcc/Manifest1
-rw-r--r--sys-devel/gcc/gcc-10.3.1_p20220602.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest
index f44068c2fb4a..868df0988d89 100644
--- a/sys-devel/gcc/Manifest
+++ b/sys-devel/gcc/Manifest
@@ -1,5 +1,6 @@
DIST gcc-10-20211126.tar.xz 71674848 BLAKE2B 81f4a572e973db7a3701601e66ea58c8e535a55d4d4ac164de00bdb06f7f265585f45d46171cf40d42ebcd3fb02ac81b643398c560912698eb6c008ac6e09518 SHA512 db887184c649ebeede5a1b9f13c00fe425012434cb93ec960c3ca50c0bcdeab04a1cc13b20de21b940e5d6a09c3b1c7fc415110a0e990ec1d938627bf97b9342
DIST gcc-10-20220526.tar.xz 71732684 BLAKE2B 88bb09a7ccc82ecbc52a748065809d06b9441a6d619281cb7a2fff96f3c06644f8b1292d19444f1f044010ce00eab446d00e0c6065f434715fb8b8ff458699f0 SHA512 ef9b1c58bf187042ec85c6a780a9c001495eec0cc8cf57a378372e16a22428783c5281ef9204d6ab275acbf8fb02cb5fb66e991323812304fe6ed4714bb39e2b
+DIST gcc-10-20220602.tar.xz 71746456 BLAKE2B 6a2bb4ff8f829e454bbdc7dddf4ad17a10f9f92c02bb56e9d971b89709c3d11e3c7740e3b7ec84e2d13b28f1b00aa59f51ce515319cb7f041747d01469bf796b SHA512 ee83aebb9b1029ea3d0388695bd77a12e368d6e939eb9decc2c7b609952b799e6132c221b61915b77d8ae8ebaf316829127776095fc61dd19a8e9b03e7893a6d
DIST gcc-10.3.0-musl-patches-1.tar.bz2 2999 BLAKE2B 3e36bbf2f93fdce15e20f807fa262f7a7abbde85b6f6b4e1383f6eccd8a53d876687d56cde83a80cde8a50e15bec407a1212aa0c85520892563e3d5ef7aaca98 SHA512 21483912a7b152f27db82d837a4cf91f2552d5fe238702aeca0c0dd8c7d3695bc70d8794c94a19106df28e053baf14c38433ca8e38e849082b76273cb51f2384
DIST gcc-10.3.0-patches-3.tar.bz2 18935 BLAKE2B 13eaf1e055b5b63069aed1575ed93f6bc822b5e3f2181ddfc88f4e7ff801f58997cd131b2efd79b90469b1f861db994feb2adcaecacf165442078f76e233fd9a SHA512 c3d6a6f32863cc0ff7c877314ff0c00a892e473f64d16b82d46b4a77aa97c3e7a575492d27f0d423acb2621c86c9a49bca0e26e45bda9e697495444fcac85084
DIST gcc-10.3.0.tar.xz 76692288 BLAKE2B ac7898f5eb8a7c5f151a526d1bb38913a68b50a65e4d010ac09fa20b6c801c671c790d780f23ccb8e4ecdfc686f4aa588082ccc9eb5c80c7b0e30788f824c1eb SHA512 2b2dd7453d48a398c29eaebd1422b70341001b8c90a62aee51e83344e7fdd8a8e45f82a4a9165bd7edc76dada912c932f4b6632c5636760fec4c5d7e402b3f86
diff --git a/sys-devel/gcc/gcc-10.3.1_p20220602.ebuild b/sys-devel/gcc/gcc-10.3.1_p20220602.ebuild
new file mode 100644
index 000000000000..126a2d87af1b
--- /dev/null
+++ b/sys-devel/gcc/gcc-10.3.1_p20220602.ebuild
@@ -0,0 +1,48 @@
+# 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_GCC_VER="10.4.0"
+PATCH_VER="1"
+MUSL_VER="1"
+MUSL_GCC_VER="10.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
+#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND=""
+BDEPEND="${CATEGORY}/binutils"
+
+src_prepare() {
+ local p upstreamed_patches=(
+ # add them here
+ )
+ for p in "${upstreamed_patches[@]}"; do
+ rm -v "${WORKDIR}/patch/${p}" || die
+ done
+
+ if has_version '>=sys-libs/glibc-2.32-r1'; then
+ rm -v "${WORKDIR}/patch/23_all_disable-riscv32-ABIs.patch" || die
+ fi
+
+ toolchain_src_prepare
+}