commit:     60373435af6039609ab613bffa4c3efcd6557689
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 14 19:55:10 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 14 19:55:43 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60373435

sys-devel/gcc: add 9.4.1_pre9999

If it happens, it'll probably be 9.5(?), but in any case,
this is useful for testing out bugs.

Bug: https://bugs.gentoo.org/806094
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-devel/gcc/gcc-9.4.1_pre9999.ebuild | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/sys-devel/gcc/gcc-9.4.1_pre9999.ebuild 
b/sys-devel/gcc/gcc-9.4.1_pre9999.ebuild
new file mode 100644
index 00000000000..8c31f450a34
--- /dev/null
+++ b/sys-devel/gcc/gcc-9.4.1_pre9999.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PATCH_GCC_VER="9.4.0"
+PATCH_VER="1"
+
+inherit toolchain
+
+# Don't keyword live ebuilds
+#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sh ~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
+
+       toolchain_src_prepare
+}

Reply via email to