commit:     423df080c20c174822e2a61ff31de534f2be9b62
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Feb  5 00:19:12 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Feb  5 00:19:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=423df080

sys-devel/gcc: add 14.0.9999, drop 14.0.1.9999

Rename per arkamar's suggestion (thank you!). See 
d1ae0cebfb7b3008963cbc3acbe0646e7ecaf43f.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../gcc/{gcc-14.0.1.9999.ebuild => gcc-14.0.9999.ebuild}   | 14 +-------------
 1 file changed, 1 insertion(+), 13 deletions(-)

diff --git a/sys-devel/gcc/gcc-14.0.1.9999.ebuild 
b/sys-devel/gcc/gcc-14.0.9999.ebuild
similarity index 81%
rename from sys-devel/gcc/gcc-14.0.1.9999.ebuild
rename to sys-devel/gcc/gcc-14.0.9999.ebuild
index 944f1ab4e85a..2eb6ad5a7e23 100644
--- a/sys-devel/gcc/gcc-14.0.1.9999.ebuild
+++ b/sys-devel/gcc/gcc-14.0.9999.ebuild
@@ -7,19 +7,7 @@ TOOLCHAIN_PATCH_DEV="sam"
 PATCH_GCC_VER="14.0.0"
 MUSL_GCC_VER="14.0.0"
 
-if [[ ${PV} == *.9999 ]] ; then
-       MY_PV_2=$(ver_cut 3)
-       MY_PV_3=1
-       if [[ ${MY_PV_2} == 0 ]] ; then
-               MY_PV_2=0
-               MY_PV_3=0
-       else
-               MY_PV_2=$((${MY_PV_2} - 1))
-       fi
-
-       # e.g. 12.2.9999 -> 12.1.1
-       TOOLCHAIN_GCC_PV=$(ver_cut 1).${MY_PV_2}.${MY_PV_3}
-elif [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then
+if [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then
        # Cheesy hack for RCs
        MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 
1)))-RC-$(ver_cut 5)
        MY_P=${PN}-${MY_PV}

Reply via email to