1 |
commit: c3a531de4ee32770d6f1fb01c0cd201197d2ede2 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 31 04:55:13 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 31 04:58:26 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3a531de |
7 |
|
8 |
sys-devel/kgcc64: add 10.4.0 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
sys-devel/kgcc64/Manifest | 3 +++ |
13 |
sys-devel/kgcc64/kgcc64-10.4.0.ebuild | 48 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 51 insertions(+) |
15 |
|
16 |
diff --git a/sys-devel/kgcc64/Manifest b/sys-devel/kgcc64/Manifest |
17 |
index 8c9891d617c1..a54bd130b71f 100644 |
18 |
--- a/sys-devel/kgcc64/Manifest |
19 |
+++ b/sys-devel/kgcc64/Manifest |
20 |
@@ -1,4 +1,7 @@ |
21 |
DIST gcc-10.3.0-patches-1.tar.bz2 15282 BLAKE2B ef283e8b108af9bfd3324fabb95c835374113c6ff2cf1430a5568b3d1b27183e6de6751367c1e5720c85ac4c45132848888d5510c63f95e88a1f623b6bcf4000 SHA512 6dc435c8619a1532000fae843b9964d0d1e28d3cc9cc1962ab7391570a0cf1135424ea5c0b0d3d5ec5ea863f02e963be2ec4c94822f217fc692a1d808325404e |
22 |
DIST gcc-10.3.0.tar.xz 76692288 BLAKE2B ac7898f5eb8a7c5f151a526d1bb38913a68b50a65e4d010ac09fa20b6c801c671c790d780f23ccb8e4ecdfc686f4aa588082ccc9eb5c80c7b0e30788f824c1eb SHA512 2b2dd7453d48a398c29eaebd1422b70341001b8c90a62aee51e83344e7fdd8a8e45f82a4a9165bd7edc76dada912c932f4b6632c5636760fec4c5d7e402b3f86 |
23 |
+DIST gcc-10.4.0-musl-patches-1.tar.xz 3808 BLAKE2B 804d1fcc451dcd03be71240dd498ec2d179869571d44012967c48dccf5a478dd8c55000a964a80fdd5584d739a777dee1c83241cffce514ef002df2572854a67 SHA512 83e4a9c0f7062baf0c606a2bcc56a818494991403d7577dea65f04bbc25bdb786a5889b80d45d80e7f4be07c1aef786802cbfcfafd1a17ec255a2d4e93a77570 |
24 |
+DIST gcc-10.4.0-patches-5.tar.xz 17056 BLAKE2B f336d69a8ad105b8c4a84e8248a5b8a88175d3f1d67d32c6bee1780d252d86947059bd624992e6292610e86c9012f4d901a1a54df0d184dd023d404a0707700e SHA512 aa8fb42f20587f8519e7b06037da4d8f7d386b63e228b239a0445a51df4e401940fcd81482381d966622054aef3e0db06d1def5c74ac3d3dcc9c75c3b966c758 |
25 |
+DIST gcc-10.4.0.tar.xz 75018092 BLAKE2B ec1169025d3896b70ab80a4b8ce5040763a95529fc7e120c6bc3a3eb1db5cf938ebde347c1e595a8ff7d4081e79ded6252702d7a1a09648449b7a0783188e434 SHA512 440c08ca746da450d9a1b35e8fd2305cb27e7e6987cd9d0f7d375f3b1fc9e4b0bd7acb3cd7bf795e72fcbead59cdef5b6c152862f5d35cd9fbfe6902101ce648 |
26 |
DIST gcc-11.3.0-patches-4.tar.bz2 14030 BLAKE2B cdd555f329c7c0b993cd3527489681bfcc2162db0997611b66337e6b287356761c7deccd3b9f9bb8980a32df0574017a52c5e445e24db746757d87ffccb1ea89 SHA512 cb227599d01734ae9f9fc7ae2c8dd4cae1da80d6ab398ec6f112535239ac76ce8e91fbac88e19c2f75cb08ab75f966c1d1ad4af80ede67e953fbbafc7baefa58 |
27 |
DIST gcc-11.3.0.tar.xz 81141364 BLAKE2B 7e562d25446ca4ab9fe8cdb714866f66aba3744d78bf84f31bfb097c1a981e4c7f990cb1e6bcfec5ae6671836a4984e2b70eb8fed81dcef5e244f88da8623469 SHA512 f0be5ad705c73b84477128a69c047f57dd47002f375eb60e1e842e08cf2009a509e92152bca345823926d550b7395ae6d4de7db51d1ee371c2dc37313881fca7 |
28 |
|
29 |
diff --git a/sys-devel/kgcc64/kgcc64-10.4.0.ebuild b/sys-devel/kgcc64/kgcc64-10.4.0.ebuild |
30 |
new file mode 100644 |
31 |
index 000000000000..148633daaf48 |
32 |
--- /dev/null |
33 |
+++ b/sys-devel/kgcc64/kgcc64-10.4.0.ebuild |
34 |
@@ -0,0 +1,48 @@ |
35 |
+# Copyright 1999-2022 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=8 |
39 |
+ |
40 |
+case ${CHOST} in |
41 |
+ hppa*) CTARGET=hppa64-${CHOST#*-};; |
42 |
+ mips*) CTARGET=${CHOST/mips/mips64};; |
43 |
+ powerpc*) CTARGET=${CHOST/powerpc/powerpc64};; |
44 |
+ s390*) CTARGET=${CHOST/s390/s390x};; |
45 |
+ sparc*) CTARGET=${CHOST/sparc/sparc64};; |
46 |
+ i?86*) CTARGET=x86_64-${CHOST#*-};; |
47 |
+esac |
48 |
+export CTARGET |
49 |
+TOOLCHAIN_ALLOWED_LANGS="c" |
50 |
+TOOLCHAIN_PATCH_DEV="sam" |
51 |
+TOOLCHAIN_PATCH_SUFFIX="xz" |
52 |
+#TOOLCHAIN_GCC_RC=1 |
53 |
+PATCH_GCC_VER="10.4.0" |
54 |
+PATCH_VER="5" |
55 |
+MUSL_VER="1" |
56 |
+MUSL_GCC_VER="10.4.0" |
57 |
+GCC_TARGET_NO_MULTILIB=true |
58 |
+ |
59 |
+inherit toolchain |
60 |
+ |
61 |
+DESCRIPTION="64bit kernel compiler" |
62 |
+ |
63 |
+# Works on hppa and mips; all other archs, refer to bug #228115 |
64 |
+KEYWORDS="~hppa" |
65 |
+ |
66 |
+# unlike every other target, hppa has not unified the 32/64 bit |
67 |
+# ports in binutils yet |
68 |
+DEPEND="hppa? ( sys-devel/binutils-hppa64 )" |
69 |
+ |
70 |
+pkg_postinst() { |
71 |
+ toolchain_pkg_postinst |
72 |
+ |
73 |
+ cd "${ROOT}"/usr/bin |
74 |
+ local x |
75 |
+ for x in gcc cpp ; do |
76 |
+ cat <<-EOF >${CTARGET%%-*}-linux-${x} |
77 |
+ #!/bin/sh |
78 |
+ exec ${CTARGET}-${x} "\$@" |
79 |
+ EOF |
80 |
+ chmod a+rx ${CTARGET%%-*}-linux-${x} |
81 |
+ done |
82 |
+} |