Bug#1125589: soapyairspyhf: diff for NMU version 0.2.0-1.1

Adrian Bunk <[email protected]>
Newsgroups gmane.linux.debian.devel.ham
Message-ID <aaL4MvO2Zu1t_wGE__8916.70017024211$1772288256$gmane$org@localhost>
Control: tags 1125589 + pending

Dear maintainer,

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

cu
Adrian
soapyairspyhf-0.2.0-1.1-nmu.diff (text/x-diff, 2.3 KB)
diffstat for soapyairspyhf-0.2.0 soapyairspyhf-0.2.0

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

diff -Nru soapyairspyhf-0.2.0/debian/changelog soapyairspyhf-0.2.0/debian/changelog
--- soapyairspyhf-0.2.0/debian/changelog	2025-07-12 00:36:14.000000000 +0300
+++ soapyairspyhf-0.2.0/debian/changelog	2026-02-28 16:09:10.000000000 +0200
@@ -1,3 +1,10 @@
+soapyairspyhf (0.2.0-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Backport upstream fix for FTBFS with CMake 4. (Closes: #1125589)
+
+ -- Adrian Bunk <[email protected]>  Sat, 28 Feb 2026 16:09:10 +0200
+
 soapyairspyhf (0.2.0-1) unstable; urgency=medium
 
   * Initial release (Closes: #964806)
diff -Nru soapyairspyhf-0.2.0/debian/patches/0001-Update-for-compat-with-newer-CMake.patch soapyairspyhf-0.2.0/debian/patches/0001-Update-for-compat-with-newer-CMake.patch
--- soapyairspyhf-0.2.0/debian/patches/0001-Update-for-compat-with-newer-CMake.patch	1970-01-01 02:00:00.000000000 +0200
+++ soapyairspyhf-0.2.0/debian/patches/0001-Update-for-compat-with-newer-CMake.patch	2026-02-28 16:08:38.000000000 +0200
@@ -0,0 +1,25 @@
+From 00067ea91049e5e9d790d86ee792c095b3efc68a Mon Sep 17 00:00:00 2001
+From: "Christian W. Zuckschwerdt" <[email protected]>
+Date: Thu, 9 Oct 2025 18:09:41 +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 8f9abf7..1cefd41 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -2,7 +2,7 @@
+ # Build Soapy SDR support module for Airspy Devices
+ ###################################################
+ 
+-cmake_minimum_required(VERSION 2.8.7)
++cmake_minimum_required(VERSION 2.8.12...3.10)
+ 
+ project(SoapyAirspyHF CXX)
+ 
+-- 
+2.47.3
+
diff -Nru soapyairspyhf-0.2.0/debian/patches/series soapyairspyhf-0.2.0/debian/patches/series
--- soapyairspyhf-0.2.0/debian/patches/series	1970-01-01 02:00:00.000000000 +0200
+++ soapyairspyhf-0.2.0/debian/patches/series	2026-02-28 16:09:08.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.