1 |
commit: 754795d0bf46ceaa8448d28ddeb3943faa2d5105 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 25 00:52:04 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 25 00:52:04 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=754795d0 |
7 |
|
8 |
sys-devel/gcc: add 11.3.1_p20220624 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
sys-devel/gcc/Manifest | 1 + |
13 |
sys-devel/gcc/gcc-11.3.1_p20220624.ebuild | 52 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 53 insertions(+) |
15 |
|
16 |
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest |
17 |
index 1d280a6c7444..0f217f8c4d08 100644 |
18 |
--- a/sys-devel/gcc/Manifest |
19 |
+++ b/sys-devel/gcc/Manifest |
20 |
@@ -12,6 +12,7 @@ DIST gcc-10.4.0-patches-1.tar.xz 14392 BLAKE2B 76cc16bb611f1ac2020f0f430fc3f038e |
21 |
DIST gcc-11-20220115.tar.xz 75676672 BLAKE2B 12171fd97731dbca67f13cc2a3a3a3989c22d628b289cbd3d46080f77a8d951f15c1e54e83a2e62ab41b69221f9784e970799a11a9ed5b224a77ba4b1b081f07 SHA512 7455b3b29d3c64df9123afef82faf922d97e08a3ea30fbc2d9286d4f6ed2fafbfc0f9d94ae1b9eee45329e95a27bd642b3aa679d83a0c27a3e30967d49e0728c |
22 |
DIST gcc-11-20220610.tar.xz 75771324 BLAKE2B ab3d2792b778961db0fedf0d965f37deec87832686ca127475146820c1f9b3a1c6872b9170c811288e891baf9de90e7dcce2f4ace96dbba0d96fff9d2757fb8d SHA512 17f70761378dd3b7bba341abfdb9274abe1bf75e61d6dd59edd5befcd10ddc02cad7fcb8f07eb0d10449b405066aa78fe8945f95e870f20b464ca90072a394d8 |
23 |
DIST gcc-11-20220617.tar.xz 75767216 BLAKE2B 295197af88f0f06e1d2dae85f3f5aa8fc693d72d07c9b15e42c87a23953ec8362cc0d70a4f3f11e8c47d5ee278e34b2854c4bbf29f601b700b75f22f21a0c8ef SHA512 8162de529dab4aebcb021729454f00e13b71933075d13b5b2f4993ce9ec84159f739788043996a5ff4fbf8b71747acb43275560a401f3503ed0972215b55659f |
24 |
+DIST gcc-11-20220624.tar.xz 75765436 BLAKE2B 642bbda212f31344822ec90bce1422146515b153ddb306c5fd1bcf25be25fea7ed5bc1aa6f5987755969e73af5de1484fb79a805e87428bcfa0b13257b9c35df SHA512 736a71de166851816914561bfbe7c00110b32f8b7e1666176babdfcfbdef4410ba07c8e2d912da2830fa14c6732f9ca555cae127481b07a85f7e689d87f9d509 |
25 |
DIST gcc-11.2.0-musl-patches-1.tar.bz2 2999 BLAKE2B 3e36bbf2f93fdce15e20f807fa262f7a7abbde85b6f6b4e1383f6eccd8a53d876687d56cde83a80cde8a50e15bec407a1212aa0c85520892563e3d5ef7aaca98 SHA512 21483912a7b152f27db82d837a4cf91f2552d5fe238702aeca0c0dd8c7d3695bc70d8794c94a19106df28e053baf14c38433ca8e38e849082b76273cb51f2384 |
26 |
DIST gcc-11.2.0-patches-1.tar.bz2 11537 BLAKE2B 9dd791ada244c9b70b8b99f9f305a688c248134715ed1b26d406e53b114983faae6873cdc521497164388d24d5f61c199e98df146bc02f5578e877295bcf5c82 SHA512 6539efc60c656d0798a5896dc1b944ed69914b815102c7a1c10bdba4ef935abd326b01309f38316e121f1ed90ceb2abcaf65df6af116892daad829ac2623cefc |
27 |
DIST gcc-11.2.0.tar.xz 80888824 BLAKE2B 69b61234ac436edfea2933df68c434a2ce7aa4454ef4da573e82587e1a42dc420189e949cfdadaf4cb37fc0de9674822210a95b77ff03aca0dbedfe67df19cc6 SHA512 d53a0a966230895c54f01aea38696f818817b505f1e2bfa65e508753fcd01b2aedb4a61434f41f3a2ddbbd9f41384b96153c684ded3f0fa97c82758d9de5c7cf |
28 |
|
29 |
diff --git a/sys-devel/gcc/gcc-11.3.1_p20220624.ebuild b/sys-devel/gcc/gcc-11.3.1_p20220624.ebuild |
30 |
new file mode 100644 |
31 |
index 000000000000..66746a359bd7 |
32 |
--- /dev/null |
33 |
+++ b/sys-devel/gcc/gcc-11.3.1_p20220624.ebuild |
34 |
@@ -0,0 +1,52 @@ |
35 |
+# Copyright 1999-2022 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=7 |
39 |
+ |
40 |
+TOOLCHAIN_PATCH_SUFFIX="xz" |
41 |
+TOOLCHAIN_PATCH_DEV="sam" |
42 |
+PATCH_VER="0" |
43 |
+PATCH_GCC_VER="11.4.0" |
44 |
+MUSL_VER="0" |
45 |
+MUSL_GCC_VER="11.4.0" |
46 |
+ |
47 |
+if [[ $(ver_cut 3) == 9999 ]] ; then |
48 |
+ MY_PV_2=$(ver_cut 2) |
49 |
+ if [[ ${MY_PV_2} == 0 ]] ; then |
50 |
+ MY_PV_2=0 |
51 |
+ else |
52 |
+ MY_PV_2=$(($(ver_cut 2) - 1)) |
53 |
+ fi |
54 |
+ |
55 |
+ # e.g. 12.2.9999 -> 12.1.1 |
56 |
+ TOOLCHAIN_GCC_PV=$(ver_cut 1).${MY_PV_2}.$(($(ver_cut 3) - 9998)) |
57 |
+fi |
58 |
+ |
59 |
+inherit toolchain |
60 |
+# Needs to be after inherit (for now?), bug #830908 |
61 |
+EGIT_BRANCH=releases/gcc-$(ver_cut 1) |
62 |
+ |
63 |
+# Don't keyword live ebuilds |
64 |
+#if ! tc_is_live && [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then |
65 |
+# KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
66 |
+#fi |
67 |
+ |
68 |
+# Technically only if USE=hardened *too* right now, but no point in complicating it further. |
69 |
+# If GCC is enabling CET by default, we need glibc to be built with support for it. |
70 |
+# bug #830454 |
71 |
+RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" |
72 |
+DEPEND="${RDEPEND}" |
73 |
+BDEPEND=">=${CATEGORY}/binutils-2.30[cet(-)?]" |
74 |
+ |
75 |
+src_prepare() { |
76 |
+ local p upstreamed_patches=( |
77 |
+ # add them here |
78 |
+ ) |
79 |
+ for p in "${upstreamed_patches[@]}"; do |
80 |
+ rm -v "${WORKDIR}/patch/${p}" || die |
81 |
+ done |
82 |
+ |
83 |
+ toolchain_src_prepare |
84 |
+ |
85 |
+ eapply_user |
86 |
+} |