1 |
commit: 60373435af6039609ab613bffa4c3efcd6557689 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 14 19:55:10 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 14 19:55:43 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60373435 |
7 |
|
8 |
sys-devel/gcc: add 9.4.1_pre9999 |
9 |
|
10 |
If it happens, it'll probably be 9.5(?), but in any case, |
11 |
this is useful for testing out bugs. |
12 |
|
13 |
Bug: https://bugs.gentoo.org/806094 |
14 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
15 |
|
16 |
sys-devel/gcc/gcc-9.4.1_pre9999.ebuild | 26 ++++++++++++++++++++++++++ |
17 |
1 file changed, 26 insertions(+) |
18 |
|
19 |
diff --git a/sys-devel/gcc/gcc-9.4.1_pre9999.ebuild b/sys-devel/gcc/gcc-9.4.1_pre9999.ebuild |
20 |
new file mode 100644 |
21 |
index 00000000000..8c31f450a34 |
22 |
--- /dev/null |
23 |
+++ b/sys-devel/gcc/gcc-9.4.1_pre9999.ebuild |
24 |
@@ -0,0 +1,26 @@ |
25 |
+# Copyright 1999-2021 Gentoo Authors |
26 |
+# Distributed under the terms of the GNU General Public License v2 |
27 |
+ |
28 |
+EAPI="7" |
29 |
+ |
30 |
+PATCH_GCC_VER="9.4.0" |
31 |
+PATCH_VER="1" |
32 |
+ |
33 |
+inherit toolchain |
34 |
+ |
35 |
+# Don't keyword live ebuilds |
36 |
+#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86" |
37 |
+ |
38 |
+RDEPEND="" |
39 |
+BDEPEND="${CATEGORY}/binutils" |
40 |
+ |
41 |
+src_prepare() { |
42 |
+ local p upstreamed_patches=( |
43 |
+ # add them here |
44 |
+ ) |
45 |
+ for p in "${upstreamed_patches[@]}"; do |
46 |
+ rm -v "${WORKDIR}/patch/${p}" || die |
47 |
+ done |
48 |
+ |
49 |
+ toolchain_src_prepare |
50 |
+} |