Control: tags 1112711 + patch
Control: tags 1112711 + pending

Dear maintainer,

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

cu
Adrian
diffstat for astyle-3.1 astyle-3.1

 changelog             |    7 +++++++
 patches/cmake-4.patch |   12 ++++++++++++
 patches/series        |    1 +
 3 files changed, 20 insertions(+)

diff -Nru astyle-3.1/debian/changelog astyle-3.1/debian/changelog
--- astyle-3.1/debian/changelog	2023-02-20 23:54:36.000000000 +0200
+++ astyle-3.1/debian/changelog	2025-10-26 19:15:05.000000000 +0200
@@ -1,3 +1,10 @@
+astyle (3.1-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with CMake 4. (Closes: #1112711)
+
+ -- Adrian Bunk <[email protected]>  Sun, 26 Oct 2025 19:15:05 +0200
+
 astyle (3.1-3) unstable; urgency=medium
 
   [ Ondřej Nový ]
diff -Nru astyle-3.1/debian/patches/cmake-4.patch astyle-3.1/debian/patches/cmake-4.patch
--- astyle-3.1/debian/patches/cmake-4.patch	1970-01-01 02:00:00.000000000 +0200
+++ astyle-3.1/debian/patches/cmake-4.patch	2025-10-26 19:15:05.000000000 +0200
@@ -0,0 +1,12 @@
+Description: Fix FTBFS with CMake 4
+Author: Adrian Bunk <[email protected]>
+Bug-Debian: https://bugs.debian.org/1112711
+
+--- astyle-3.1.orig/CMakeLists.txt
++++ astyle-3.1/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 3.0)
++cmake_minimum_required(VERSION 3.5)
+ project(astyle CXX)
+ 
+ # Release Build - release by default (except for Borland)
diff -Nru astyle-3.1/debian/patches/series astyle-3.1/debian/patches/series
--- astyle-3.1/debian/patches/series	2023-02-20 23:54:36.000000000 +0200
+++ astyle-3.1/debian/patches/series	2025-10-26 19:15:05.000000000 +0200
@@ -2,3 +2,4 @@
 cmakelists.patch
 no_PATH_MAX.patch
 news_encoding.patch
+cmake-4.patch

Reply via email to