commit: dc47ca733923e31cc0de824aebf6bae1e4eb0cd5
Author: Andrei Horodniceanu <a.horodniceanu <AT> proton <DOT> me>
AuthorDate: Mon Aug 11 17:06:47 2025 +0000
Commit: Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
CommitDate: Mon Aug 11 17:06:55 2025 +0000
URL: https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=dc47ca73
dev-lang/ldc2: keyword 1.39.0 for ~arm64
Signed-off-by: Andrei Horodniceanu <a.horodniceanu <AT> proton.me>
dev-lang/ldc2/ldc2-1.39.0.ebuild | 11 +++++++----
eclass/dlang-compilers-r1.eclass | 2 +-
2 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/dev-lang/ldc2/ldc2-1.39.0.ebuild b/dev-lang/ldc2/ldc2-1.39.0.ebuild
index 8b80bb5..8c9c0d4 100644
--- a/dev-lang/ldc2/ldc2-1.39.0.ebuild
+++ b/dev-lang/ldc2/ldc2-1.39.0.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# Upstream supports LLVM 15.0 through 18.0.
LLVM_COMPAT=( {15..18} )
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
inherit cmake llvm-r1 multilib-build multiprocessing python-any-r1
toolchain-funcs
PATCH_VER=1
@@ -31,7 +31,7 @@ LICENSE+=" GPL-2+ Artistic"
# Only increase subslot in case of ABI breakage
SLOT="$(ver_cut 1-2)/0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="static-libs test"
RESTRICT="!test? ( test )"
@@ -78,7 +78,10 @@ src_prepare(){
# Disable GDB tests by passing GDB_FLAGS=OFF
# Put this here to avoid trigerring reconfigurations later on.
- sed -i 's/\(GDB_FLAGS=\)\S\+/\1OFF/' "${S}"/tests/dmd/CMakeLists.txt
+ sed -i 's/\(GDB_FLAGS=\)\S\+/\1OFF/' "${S}"/tests/dmd/CMakeLists.txt ||
die
+
+ # This test fails with >=gcc-14, fixed in newer versions.
+ rm -r "${S}"/tests/dmd/compilable/stdcheaders.c || die
cmake_src_prepare
}
diff --git a/eclass/dlang-compilers-r1.eclass b/eclass/dlang-compilers-r1.eclass
index 08f582d..47395d5 100644
--- a/eclass/dlang-compilers-r1.eclass
+++ b/eclass/dlang-compilers-r1.eclass
@@ -99,7 +99,7 @@ readonly _DLANG_LDC2_FRONTENDS=(
"1.36 2.106 ~amd64 ~arm64 ~x86"
"1.37 2.107 ~amd64 ~arm64 ~x86"
"1.38 2.108 ~amd64 ~arm64 ~x86"
- "1.39 2.109 ~amd64 ~x86"
+ "1.39 2.109 ~amd64 ~arm64 ~x86"
"1.40 2.110 ~amd64 ~x86"
)