Control: tags 1112813 + patch
Control: tags 1112813 + pending

Dear maintainer,

I've prepared an NMU for croaring (versioned as 0.2.66+ds-2.2) and 
uploaded it to DELAYED/2. Please feel free to tell me if I should
cancel it.

cu
Adrian
diffstat for croaring-0.2.66+ds croaring-0.2.66+ds

 changelog                                         |    7 +++++
 patches/0001-Fixes-for-clangcl.patch              |   22 ++++++++++++++++
 patches/0002-Testing-amalgamation-files-573.patch |   29 ++++++++++++++++++++++
 patches/series                                    |    2 +
 4 files changed, 60 insertions(+)

diff -Nru croaring-0.2.66+ds/debian/changelog croaring-0.2.66+ds/debian/changelog
--- croaring-0.2.66+ds/debian/changelog	2024-02-28 19:43:31.000000000 +0200
+++ croaring-0.2.66+ds/debian/changelog	2025-10-19 13:23:50.000000000 +0300
@@ -1,3 +1,10 @@
+croaring (0.2.66+ds-2.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Backport upstream fixes for FTBFS with CMake 4. (Closes: #1112813)
+
+ -- Adrian Bunk <[email protected]>  Sun, 19 Oct 2025 13:23:50 +0300
+
 croaring (0.2.66+ds-2.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru croaring-0.2.66+ds/debian/patches/0001-Fixes-for-clangcl.patch croaring-0.2.66+ds/debian/patches/0001-Fixes-for-clangcl.patch
--- croaring-0.2.66+ds/debian/patches/0001-Fixes-for-clangcl.patch	1970-01-01 02:00:00.000000000 +0200
+++ croaring-0.2.66+ds/debian/patches/0001-Fixes-for-clangcl.patch	2025-10-19 13:23:30.000000000 +0300
@@ -0,0 +1,22 @@
+From 75bd850ba6791a6e60e83a15128b9edc3ab899d2 Mon Sep 17 00:00:00 2001
+From: Daniel Lemire <[email protected]>
+Date: Sat, 20 Aug 2022 10:25:03 -0400
+Subject: Fixes for clangcl
+
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index b2e91dfb..fb1142c0 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 2.8)
++cmake_minimum_required(VERSION 2.8...3.15)
+ include(GNUInstallDirs)
+ 
+ set(CMAKE_MACOSX_RPATH OFF)
+-- 
+2.30.2
+
diff -Nru croaring-0.2.66+ds/debian/patches/0002-Testing-amalgamation-files-573.patch croaring-0.2.66+ds/debian/patches/0002-Testing-amalgamation-files-573.patch
--- croaring-0.2.66+ds/debian/patches/0002-Testing-amalgamation-files-573.patch	1970-01-01 02:00:00.000000000 +0200
+++ croaring-0.2.66+ds/debian/patches/0002-Testing-amalgamation-files-573.patch	2025-10-19 13:23:30.000000000 +0300
@@ -0,0 +1,29 @@
+From 132210dc0290b869802b4932c40b20ead6a72d98 Mon Sep 17 00:00:00 2001
+From: Daniel Lemire <[email protected]>
+Date: Fri, 26 Jan 2024 10:25:06 -0500
+Subject: Testing amalgamation files (#573)
+
+* Testing amalgamation files
+
+---------
+
+Co-authored-by: Daniel Lemire <[email protected]>
+---
+ tools/cmake/FindCTargets.cmake | 4 ----
+ 1 file changed, 4 deletions(-)
+
+diff --git a/tools/cmake/FindCTargets.cmake b/tools/cmake/FindCTargets.cmake
+index 113b0f2f..a22dc111 100644
+--- a/tools/cmake/FindCTargets.cmake
++++ b/tools/cmake/FindCTargets.cmake
+@@ -1,7 +1,3 @@
+-if (CMAKE_VERSION VERSION_GREATER 3.0.0)
+-  cmake_policy(VERSION 3.0.0)
+-endif ()
+-
+ function(add_c_test TEST_NAME)
+   add_executable(${TEST_NAME} ${TEST_NAME}.c)
+   target_link_libraries(${TEST_NAME} ${ROARING_LIB_NAME} cmocka)
+-- 
+2.30.2
+
diff -Nru croaring-0.2.66+ds/debian/patches/series croaring-0.2.66+ds/debian/patches/series
--- croaring-0.2.66+ds/debian/patches/series	2021-01-05 14:42:13.000000000 +0200
+++ croaring-0.2.66+ds/debian/patches/series	2025-10-19 13:23:50.000000000 +0300
@@ -1,2 +1,4 @@
 001-containerptr_roaring_bitmap_add-public.patch
 0002-Generate-and-install-pkg-config-metadata-235.patch
+0001-Fixes-for-clangcl.patch
+0002-Testing-amalgamation-files-573.patch

Reply via email to