Control: tags 1113091 + patch
Control: tags 1113091 + pending

Dear maintainer,

I've prepared an NMU for kwstyle (versioned as 1.1.0~git20200506.b253a2b-1.1)
and uploaded it to DELAYED/14. Please feel free to tell me if I should 
cancel it.

cu
Adrian
diffstat for kwstyle-1.1.0~git20200506.b253a2b kwstyle-1.1.0~git20200506.b253a2b

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

diff -Nru kwstyle-1.1.0~git20200506.b253a2b/debian/changelog kwstyle-1.1.0~git20200506.b253a2b/debian/changelog
--- kwstyle-1.1.0~git20200506.b253a2b/debian/changelog	2020-05-21 15:12:38.000000000 +0300
+++ kwstyle-1.1.0~git20200506.b253a2b/debian/changelog	2025-10-11 21:38:09.000000000 +0300
@@ -1,3 +1,10 @@
+kwstyle (1.1.0~git20200506.b253a2b-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Backport upstream fix for FTBFS with CMake 4. (Closes: #1113091)
+
+ -- Adrian Bunk <[email protected]>  Sat, 11 Oct 2025 21:38:09 +0300
+
 kwstyle (1.1.0~git20200506.b253a2b-1) unstable; urgency=medium
 
   * New upstream version 1.1.0~git20200506.b253a2b from
diff -Nru kwstyle-1.1.0~git20200506.b253a2b/debian/patches/cmake-4.patch kwstyle-1.1.0~git20200506.b253a2b/debian/patches/cmake-4.patch
--- kwstyle-1.1.0~git20200506.b253a2b/debian/patches/cmake-4.patch	1970-01-01 02:00:00.000000000 +0200
+++ kwstyle-1.1.0~git20200506.b253a2b/debian/patches/cmake-4.patch	2025-10-11 21:38:09.000000000 +0300
@@ -0,0 +1,19 @@
+Description: Fix FTBFS with CMake 4
+Author: Adrian Bunk <[email protected]>
+Bug-Debian: https://bugs.debian.org/1113091
+Origin: backport, https://github.com/Kitware/KWStyle/commit/51ede352f6634d965444720f63b4f3e660fe5d42
+
+--- kwstyle-1.1.0~git20200506.b253a2b.orig/Utilities/KWSys/CMakeLists.txt
++++ kwstyle-1.1.0~git20200506.b253a2b/Utilities/KWSys/CMakeLists.txt
+@@ -86,10 +86,8 @@
+ # any outside mailing list and no documentation of the change will be
+ # written.
+ 
+-cmake_minimum_required(VERSION 3.1 FATAL_ERROR)
++cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
+ foreach(p
+-    CMP0056 # CMake 3.2, Honor link flags in try_compile() source-file signature.
+-    CMP0063 # CMake 3.3, Honor visibility properties for all target types.
+     CMP0067 # CMake 3.8, Honor language standard in try_compile source-file signature.
+     CMP0069 # CMake 3.9, INTERPROCEDURAL_OPTIMIZATION is enforced when enabled.
+     )
diff -Nru kwstyle-1.1.0~git20200506.b253a2b/debian/patches/series kwstyle-1.1.0~git20200506.b253a2b/debian/patches/series
--- kwstyle-1.1.0~git20200506.b253a2b/debian/patches/series	1970-01-01 02:00:00.000000000 +0200
+++ kwstyle-1.1.0~git20200506.b253a2b/debian/patches/series	2025-10-11 21:38:09.000000000 +0300
@@ -0,0 +1 @@
+cmake-4.patch

Reply via email to