Control: tags 1113310 + patch
Control: tags 1113310 + pending

Dear maintainer,

I've prepared an NMU for nanomsg (versioned as 1.1.5+dfsg-1.2) and 
uploaded it to DELAYED/15. Please feel free to tell me if I should 
cancel it.

cu
Adrian
diffstat for nanomsg-1.1.5+dfsg nanomsg-1.1.5+dfsg

 changelog                                         |    7 +++++
 patches/0001-cmake-support-CMake-4.0-and-up.patch |   27 ++++++++++++++++++++++
 patches/series                                    |    1 
 3 files changed, 35 insertions(+)

diff -Nru nanomsg-1.1.5+dfsg/debian/changelog nanomsg-1.1.5+dfsg/debian/changelog
--- nanomsg-1.1.5+dfsg/debian/changelog	2023-01-10 18:33:43.000000000 +0200
+++ nanomsg-1.1.5+dfsg/debian/changelog	2025-11-18 22:37:52.000000000 +0200
@@ -1,3 +1,10 @@
+nanomsg (1.1.5+dfsg-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Backport upstream fix for FTBFS with CMake 4. (Closes: #1113310)
+
+ -- Adrian Bunk <[email protected]>  Tue, 18 Nov 2025 22:37:52 +0200
+
 nanomsg (1.1.5+dfsg-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru nanomsg-1.1.5+dfsg/debian/patches/0001-cmake-support-CMake-4.0-and-up.patch nanomsg-1.1.5+dfsg/debian/patches/0001-cmake-support-CMake-4.0-and-up.patch
--- nanomsg-1.1.5+dfsg/debian/patches/0001-cmake-support-CMake-4.0-and-up.patch	1970-01-01 02:00:00.000000000 +0200
+++ nanomsg-1.1.5+dfsg/debian/patches/0001-cmake-support-CMake-4.0-and-up.patch	2025-11-18 22:37:52.000000000 +0200
@@ -0,0 +1,27 @@
+From c17c1db71cde2d9455a25ddf02b638e55352404e Mon Sep 17 00:00:00 2001
+From: Garrett D'Amore <[email protected]>
+Date: Sun, 5 Oct 2025 09:17:54 -0700
+Subject: cmake: support CMake 4.0 and up
+
+See https://cmake.org/cmake/help/v4.0/command/cmake_minimum_required.html
+for more information about this change.
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 18a9c470..6d0f30c8 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -24,7 +24,7 @@
+ #   IN THE SOFTWARE.
+ #
+ 
+-cmake_minimum_required (VERSION 2.8.12)
++cmake_minimum_required (VERSION 2.8.12...3.5)
+ 
+ project (nanomsg C)
+ include (CheckFunctionExists)
+-- 
+2.30.2
+
diff -Nru nanomsg-1.1.5+dfsg/debian/patches/series nanomsg-1.1.5+dfsg/debian/patches/series
--- nanomsg-1.1.5+dfsg/debian/patches/series	2018-10-22 02:20:21.000000000 +0300
+++ nanomsg-1.1.5+dfsg/debian/patches/series	2025-11-18 22:37:52.000000000 +0200
@@ -1,2 +1,3 @@
 0001-fix-rpath.patch
 0002-remove-google-fonts.patch
+0001-cmake-support-CMake-4.0-and-up.patch

Reply via email to