diffstat for mbpoll-1.5.2 mbpoll-1.5.2

 changelog                                                               |    7 +
 patches/0001-cmake-Set-minimum-required-version-to-3.5-for-CMake-.patch |   39 ++++++++++
 patches/series                                                          |    1 
 3 files changed, 47 insertions(+)

diff -Nru mbpoll-1.5.2/debian/changelog mbpoll-1.5.2/debian/changelog
--- mbpoll-1.5.2/debian/changelog	2024-09-02 10:36:29.000000000 +0300
+++ mbpoll-1.5.2/debian/changelog	2025-11-29 09:47:21.000000000 +0200
@@ -1,3 +1,10 @@
+mbpoll (1.5.2-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Backport upstream fix for FTBFS with CMake 4. (Closes: #1113270)
+
+ -- Adrian Bunk <bunk@debian.org>  Sat, 29 Nov 2025 09:47:21 +0200
+
 mbpoll (1.5.2-1) unstable; urgency=medium
 
   * New upstream version (Closes: #1079910)
diff -Nru mbpoll-1.5.2/debian/patches/0001-cmake-Set-minimum-required-version-to-3.5-for-CMake-.patch mbpoll-1.5.2/debian/patches/0001-cmake-Set-minimum-required-version-to-3.5-for-CMake-.patch
--- mbpoll-1.5.2/debian/patches/0001-cmake-Set-minimum-required-version-to-3.5-for-CMake-.patch	1970-01-01 02:00:00.000000000 +0200
+++ mbpoll-1.5.2/debian/patches/0001-cmake-Set-minimum-required-version-to-3.5-for-CMake-.patch	2025-11-29 09:46:47.000000000 +0200
@@ -0,0 +1,39 @@
+From 78ea72a08d61d3b8bd7fec1a741e7aa9b7ab38f9 Mon Sep 17 00:00:00 2001
+From: Alper Ak <alperyasinak1@gmail.com>
+Date: Mon, 7 Jul 2025 20:05:36 +0300
+Subject: cmake: Set minimum required version to 3.5 for CMake 4+ compatibility
+
+Fix:
+
+| CMake Error at CMakeLists.txt:3 (cmake_minimum_required):
+|   Compatibility with CMake < 3.5 has been removed from CMake.
+|
+|   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
+|   to tell CMake that the project requires at least <min> but has been updated
+|   to work with policies introduced by <max> or earlier.
+|
+|   Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
+|
+|
+| -- Configuring incomplete, errors occurred!
+
+Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 6daa039..af32354 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,6 +1,6 @@
+ # -*- CMakeLists.txt generated by CodeLite IDE. Do not edit by hand -*-
+ 
+-cmake_minimum_required(VERSION 2.9)
++cmake_minimum_required(VERSION 3.5)
+ 
+ # Workspace name
+ project(mbpoll)
+-- 
+2.30.2
+
diff -Nru mbpoll-1.5.2/debian/patches/series mbpoll-1.5.2/debian/patches/series
--- mbpoll-1.5.2/debian/patches/series	2024-09-02 10:36:09.000000000 +0300
+++ mbpoll-1.5.2/debian/patches/series	2025-11-29 09:47:17.000000000 +0200
@@ -1 +1,2 @@
 lower_pollrate.patch
+0001-cmake-Set-minimum-required-version-to-3.5-for-CMake-.patch
