Control: tags 1113124 + patch
Control: tags 1113124 + pending

Dear maintainer,

I've prepared an NMU for libcbor (versioned as 0.10.2-2.1) and uploaded 
it to DELAYED/15. Please feel free to tell me if I should cancel it.

cu
Adrian
diffstat for libcbor-0.10.2 libcbor-0.10.2

 changelog                                            |    7 +++++
 patches/0001-Set-cmake_minimum_required-to-3.5.patch |   24 +++++++++++++++++++
 patches/series                                       |    1 
 3 files changed, 32 insertions(+)

diff -Nru libcbor-0.10.2/debian/changelog libcbor-0.10.2/debian/changelog
--- libcbor-0.10.2/debian/changelog	2024-09-15 11:35:51.000000000 +0300
+++ libcbor-0.10.2/debian/changelog	2025-11-14 21:50:27.000000000 +0200
@@ -1,3 +1,10 @@
+libcbor (0.10.2-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Backport upstream fix for FTBFS with CMake 4. (Closes: #1113124)
+
+ -- Adrian Bunk <[email protected]>  Fri, 14 Nov 2025 21:50:27 +0200
+
 libcbor (0.10.2-2) unstable; urgency=medium
 
   * Ack NMU.
diff -Nru libcbor-0.10.2/debian/patches/0001-Set-cmake_minimum_required-to-3.5.patch libcbor-0.10.2/debian/patches/0001-Set-cmake_minimum_required-to-3.5.patch
--- libcbor-0.10.2/debian/patches/0001-Set-cmake_minimum_required-to-3.5.patch	1970-01-01 02:00:00.000000000 +0200
+++ libcbor-0.10.2/debian/patches/0001-Set-cmake_minimum_required-to-3.5.patch	2025-11-14 21:50:12.000000000 +0200
@@ -0,0 +1,24 @@
+From 838cebd36ac9c517f821560019c6134dec271f24 Mon Sep 17 00:00:00 2001
+From: PJK <[email protected]>
+Date: Fri, 4 Apr 2025 23:19:13 +0200
+Subject: Set cmake_minimum_required to 3.5
+
+Fixed https://github.com/PJK/libcbor/issues/351
+---
+ CMakeLists.txt | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index f773b23..bb78e7a 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,4 +1,5 @@
+-cmake_minimum_required(VERSION 3.0)
++cmake_minimum_required(VERSION 3.5)
++
+ project(libcbor)
+ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules/")
+ include(CTest)
+-- 
+2.30.2
+
diff -Nru libcbor-0.10.2/debian/patches/series libcbor-0.10.2/debian/patches/series
--- libcbor-0.10.2/debian/patches/series	2024-09-15 11:35:51.000000000 +0300
+++ libcbor-0.10.2/debian/patches/series	2025-11-14 21:50:27.000000000 +0200
@@ -1,2 +1,3 @@
 Fix-non-standard-testing.patch
 nan-hppa-mips.patch
+0001-Set-cmake_minimum_required-to-3.5.patch

Reply via email to