Control: tags 1122608 + patch Control: tags 1122608 + pending Dear maintainer,
I've prepared an NMU for ldc (versioned as 1:1.42.0-2.1) and uploaded it to DELAYED/2. Please feel free to tell me if I should cancel it. cu Adrian
diffstat for ldc-1.42.0 ldc-1.42.0 changelog | 7 ++ control | 4 - patches/0001-Link-with-curl-when-building-ldc-profdata-5165.patch | 30 ++++++++++ patches/series | 1 4 files changed, 40 insertions(+), 2 deletions(-) diff -Nru ldc-1.42.0/debian/changelog ldc-1.42.0/debian/changelog --- ldc-1.42.0/debian/changelog 2026-07-02 16:42:44.000000000 +0300 +++ ldc-1.42.0/debian/changelog 2026-09-19 18:17:12.000000000 +0300 @@ -1,3 +1,10 @@ +ldc (1:1.42.0-2.1) unstable; urgency=medium + + * Non-maintainer upload. + * Use the default LLVM. (Closes: #1122608) + + -- Adrian Bunk <[email protected]> Sat, 19 Sep 2026 18:17:12 +0300 + ldc (1:1.42.0-2) unstable; urgency=medium * Team upload diff -Nru ldc-1.42.0/debian/control ldc-1.42.0/debian/control --- ldc-1.42.0/debian/control 2026-07-02 16:42:26.000000000 +0300 +++ ldc-1.42.0/debian/control 2026-09-19 18:16:37.000000000 +0300 @@ -14,8 +14,8 @@ libedit-dev, libffi-dev, libncurses-dev, - llvm-19, - llvm-19-dev (>= 1:19), + llvm, + llvm-dev (>= 1:19), pkgconf, zlib1g-dev Standards-Version: 4.7.4 diff -Nru ldc-1.42.0/debian/patches/0001-Link-with-curl-when-building-ldc-profdata-5165.patch ldc-1.42.0/debian/patches/0001-Link-with-curl-when-building-ldc-profdata-5165.patch --- ldc-1.42.0/debian/patches/0001-Link-with-curl-when-building-ldc-profdata-5165.patch 1970-01-01 02:00:00.000000000 +0200 +++ ldc-1.42.0/debian/patches/0001-Link-with-curl-when-building-ldc-profdata-5165.patch 2026-09-19 18:15:54.000000000 +0300 @@ -0,0 +1,30 @@ +From d32c0858d50526e2ef3a538733dd194bc5159ae2 Mon Sep 17 00:00:00 2001 +From: Dāvis <[email protected]> +Date: Fri, 3 Jul 2026 21:27:28 +0300 +Subject: Link with `curl` when building `ldc-profdata` (#5165) + +Properly fix with CMake so that it builds for everyone without needing custom flags. + +Thanks for reviewing and fixes @kinke +--- + tools/CMakeLists.txt | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt +index 2c88b7ae7e..2eb4e93084 100644 +--- a/tools/CMakeLists.txt ++++ b/tools/CMakeLists.txt +@@ -44,6 +44,10 @@ if(LDC_BUNDLE_LLVM_TOOLS) + set(link_llvmdebuginfod "${LLVM_LIBRARY_DIRS}/LLVMDebuginfod.lib") + else() + set(link_llvmdebuginfod -lLLVMDebuginfod) ++ find_package(CURL) ++ if(CURL_FOUND) ++ set(link_llvmdebuginfod ${link_llvmdebuginfod} CURL::libcurl) ++ endif() + endif() + endif() + target_link_libraries(ldc-profdata ${link_llvmdebuginfod} ${LLVM_LIBRARIES} ${CMAKE_DL_LIBS} ${LLVM_LDFLAGS} ${CMAKE_THREAD_LIBS_INIT}) +-- +2.47.3 + diff -Nru ldc-1.42.0/debian/patches/series ldc-1.42.0/debian/patches/series --- ldc-1.42.0/debian/patches/series 2026-07-02 16:42:26.000000000 +0300 +++ ldc-1.42.0/debian/patches/series 2026-09-19 18:17:11.000000000 +0300 @@ -1,2 +1,3 @@ i386_int128_alignment.patch Don-t-emit-install-time-rpath-in-50-target-default.conf.patch +0001-Link-with-curl-when-building-ldc-profdata-5165.patch

