Control: tags 1113177 + patch Control: tags 1113177 + pending Dear maintainer,
I've prepared an NMU for libnitrokey (versioned as 3.7-3.1) and uploaded it to DELAYED/15. Please feel free to tell me if I should cancel it. cu Adrian
diffstat for libnitrokey-3.7 libnitrokey-3.7 changelog | 7 +++ patches/0001-Increase-cmake_minimum_required-3.1-3.10.patch | 25 ++++++++++++ patches/series | 1 3 files changed, 33 insertions(+) diff -Nru libnitrokey-3.7/debian/changelog libnitrokey-3.7/debian/changelog --- libnitrokey-3.7/debian/changelog 2024-06-09 19:01:58.000000000 +0300 +++ libnitrokey-3.7/debian/changelog 2025-10-26 23:54:41.000000000 +0200 @@ -1,3 +1,10 @@ +libnitrokey (3.7-3.1) unstable; urgency=medium + + * Non-maintainer upload. + * Backport upstream fix for FTBFS with CMake 4. (Closes: #1113177) + + -- Adrian Bunk <[email protected]> Sun, 26 Oct 2025 23:54:41 +0200 + libnitrokey (3.7-3) unstable; urgency=medium * Source-only upload diff -Nru libnitrokey-3.7/debian/patches/0001-Increase-cmake_minimum_required-3.1-3.10.patch libnitrokey-3.7/debian/patches/0001-Increase-cmake_minimum_required-3.1-3.10.patch --- libnitrokey-3.7/debian/patches/0001-Increase-cmake_minimum_required-3.1-3.10.patch 1970-01-01 02:00:00.000000000 +0200 +++ libnitrokey-3.7/debian/patches/0001-Increase-cmake_minimum_required-3.1-3.10.patch 2025-10-26 23:54:41.000000000 +0200 @@ -0,0 +1,25 @@ +From 87847211e42c7b03d1611dedd8900357aa8b7745 Mon Sep 17 00:00:00 2001 +From: Skoh <[email protected]> +Date: Thu, 9 Oct 2025 18:09:25 -0400 +Subject: Increase `cmake_minimum_required`: 3.1 -> 3.10 + +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index e0bbce0..c63e8ab 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -3,7 +3,7 @@ IF(NOT DEFINED CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_NO_WARNINGS) + SET(CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_NO_WARNINGS ON) + ENDIF() + +-cmake_minimum_required(VERSION 3.1) ++cmake_minimum_required(VERSION 3.1...3.10) + IF (UNIX) + OPTION(ADD_ASAN "Use ASAN to show memory issues" FALSE) + OPTION(ADD_TSAN "Use TSAN to show thread issues" FALSE) +-- +2.30.2 + diff -Nru libnitrokey-3.7/debian/patches/series libnitrokey-3.7/debian/patches/series --- libnitrokey-3.7/debian/patches/series 2022-05-20 18:06:46.000000000 +0300 +++ libnitrokey-3.7/debian/patches/series 2025-10-26 23:54:41.000000000 +0200 @@ -1 +1,2 @@ 0001-fix-installation-paths.patch +0001-Increase-cmake_minimum_required-3.1-3.10.patch

