commit:     44156086f94d88836bbc4dd50152f0fb07553eca
Author:     Andrei Horodniceanu <a.horodniceanu <AT> proton <DOT> me>
AuthorDate: Sun Jun  2 04:36:56 2024 +0000
Commit:     Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
CommitDate: Sun Jun  2 04:36:56 2024 +0000
URL:        https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=44156086

dev-util/dfmt: enable gdc-14

Signed-off-by: Andrei Horodniceanu <a.horodniceanu <AT> proton.me>

 dev-util/dfmt/dfmt-0.15.1-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/dfmt/dfmt-0.15.1-r2.ebuild 
b/dev-util/dfmt/dfmt-0.15.1-r2.ebuild
index 98afa52..0446e61 100644
--- a/dev-util/dfmt/dfmt-0.15.1-r2.ebuild
+++ b/dev-util/dfmt/dfmt-0.15.1-r2.ebuild
@@ -16,7 +16,7 @@ LICENSE="Boost-1.0"
 SLOT="0"
 KEYWORDS="~amd64 ~arm64 ~x86"
 
-DLANG_COMPAT=( dmd-2_{106..108} gdc-13 ldc2-1_{35..38} )
+DLANG_COMPAT=( dmd-2_{106..108} gdc-1{3,4} ldc2-1_{35..38} )
 
 inherit dlang-single bash-completion-r1
 
@@ -40,7 +40,7 @@ src_prepare() {
        export D_FLAGS="$(dlang_get_dmdw_dcflags) $(dlang_get_dmdw_ldflags) 
\$(INCLUDE_PATHS)"
        # Tests fail with -march=native and -O2 with 
<sys-devel/gcc-13.2.1_p20240330,
        # probably https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114171 again.
-       if [[ ${EDC} == gdc* && ${D_FLAGS} == *-march=native* ]]; then
+       if [[ ${EDC} == gdc-13 && ${D_FLAGS} == *-march=native* ]]; then
                ewarn '-march=native has been removed from your flags.'
                ewarn 'See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114171'
                # Interestingly `-q,` is a valid gdmd flag.

Reply via email to