Control: tags 1112979 + patch
Control: tags 1112979 + pending

Dear maintainer,

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

cu
Adrian
diffstat for gromit-mpx-1.7.0 gromit-mpx-1.7.0

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

diff -Nru gromit-mpx-1.7.0/debian/changelog gromit-mpx-1.7.0/debian/changelog
--- gromit-mpx-1.7.0/debian/changelog	2024-09-11 13:39:30.000000000 +0300
+++ gromit-mpx-1.7.0/debian/changelog	2025-10-25 20:27:12.000000000 +0300
@@ -1,3 +1,10 @@
+gromit-mpx (1.7.0-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Backport upstream fix for FTBFS with CMake 4. (Closes: #1112979)
+
+ -- Adrian Bunk <[email protected]>  Sat, 25 Oct 2025 20:27:12 +0300
+
 gromit-mpx (1.7.0-1) unstable; urgency=medium
 
   * New upstream version
diff -Nru gromit-mpx-1.7.0/debian/patches/0001-CMake-fix-compatibility-with-newer-CMake.patch gromit-mpx-1.7.0/debian/patches/0001-CMake-fix-compatibility-with-newer-CMake.patch
--- gromit-mpx-1.7.0/debian/patches/0001-CMake-fix-compatibility-with-newer-CMake.patch	1970-01-01 02:00:00.000000000 +0200
+++ gromit-mpx-1.7.0/debian/patches/0001-CMake-fix-compatibility-with-newer-CMake.patch	2025-10-25 20:25:27.000000000 +0300
@@ -0,0 +1,25 @@
+From 23c6fc679d90726faded50e1e363c08a152e14b1 Mon Sep 17 00:00:00 2001
+From: Andrew Marshall <[email protected]>
+Date: Sun, 12 Oct 2025 09:59:16 -0400
+Subject: CMake: fix compatibility with newer CMake
+
+CMake 4.0 removed compatibility for CMake < 3.5. This increases to
+explicitly declare support for up to 3.10 (the oldest non-deprecated
+version), thereby fixing the build on CMake 4.0.
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 11ab986..b975076 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 3.0)
++cmake_minimum_required(VERSION 3.0...3.10)
+ project(gromit-mpx LANGUAGES C)
+ include(GNUInstallDirs)
+ 
+-- 
+2.30.2
+
diff -Nru gromit-mpx-1.7.0/debian/patches/series gromit-mpx-1.7.0/debian/patches/series
--- gromit-mpx-1.7.0/debian/patches/series	1970-01-01 02:00:00.000000000 +0200
+++ gromit-mpx-1.7.0/debian/patches/series	2025-10-25 20:27:11.000000000 +0300
@@ -0,0 +1 @@
+0001-CMake-fix-compatibility-with-newer-CMake.patch

Reply via email to