Bug#1125591: soapyplutosdr: diff for NMU version 0.2.2-1.1

Adrian Bunk <[email protected]>
Newsgroups gmane.linux.debian.devel.ham
Message-ID <aaL6CGwAVUCx08EO__45084.8207737849$1772288732$gmane$org@localhost>
Control: tags 1125591 + pending

Dear maintainer,

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

cu
Adrian
soapyplutosdr-0.2.2-1.1-nmu.diff (text/x-diff, 2.4 KB)
diffstat for soapyplutosdr-0.2.2 soapyplutosdr-0.2.2

 changelog                                             |    7 +++++
 patches/0001-Update-for-compat-with-newer-CMake.patch |   25 ++++++++++++++++++
 patches/series                                        |    1 
 3 files changed, 33 insertions(+)

diff -Nru soapyplutosdr-0.2.2/debian/changelog soapyplutosdr-0.2.2/debian/changelog
--- soapyplutosdr-0.2.2/debian/changelog	2025-07-13 00:45:07.000000000 +0300
+++ soapyplutosdr-0.2.2/debian/changelog	2026-02-28 16:20:57.000000000 +0200
@@ -1,3 +1,10 @@
+soapyplutosdr (0.2.2-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Backport upstream fix for FTBFS with CMake 4. (Closes: #1125591)
+
+ -- Adrian Bunk <[email protected]>  Sat, 28 Feb 2026 16:20:57 +0200
+
 soapyplutosdr (0.2.2-1) unstable; urgency=medium
 
   * Initial release (Closes: #1109151)
diff -Nru soapyplutosdr-0.2.2/debian/patches/0001-Update-for-compat-with-newer-CMake.patch soapyplutosdr-0.2.2/debian/patches/0001-Update-for-compat-with-newer-CMake.patch
--- soapyplutosdr-0.2.2/debian/patches/0001-Update-for-compat-with-newer-CMake.patch	1970-01-01 02:00:00.000000000 +0200
+++ soapyplutosdr-0.2.2/debian/patches/0001-Update-for-compat-with-newer-CMake.patch	2026-02-28 16:18:45.000000000 +0200
@@ -0,0 +1,25 @@
+From 3290e72fe0485be4a4161ffe443c875216306143 Mon Sep 17 00:00:00 2001
+From: "Christian W. Zuckschwerdt" <[email protected]>
+Date: Sun, 30 Mar 2025 13:47:06 +0200
+Subject: Update for compat with newer CMake
+
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 7378003..5b74a7b 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,7 +1,7 @@
+ ########################################################################
+ # Project setup
+ ########################################################################
+-cmake_minimum_required(VERSION 2.8.9)
++cmake_minimum_required(VERSION 2.8.12...3.10)
+ project(SoapyPlutoSDR CXX)
+ 
+ # select build type to get optimization flags
+-- 
+2.47.3
+
diff -Nru soapyplutosdr-0.2.2/debian/patches/series soapyplutosdr-0.2.2/debian/patches/series
--- soapyplutosdr-0.2.2/debian/patches/series	1970-01-01 02:00:00.000000000 +0200
+++ soapyplutosdr-0.2.2/debian/patches/series	2026-02-28 16:19:11.000000000 +0200
@@ -0,0 +1 @@
+0001-Update-for-compat-with-newer-CMake.patch
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.