Control: tags 1125604 + patch

Dear maintainer,

I've prepared an NMU for kdb (versioned as 3.2.0-9.1) and uploaded
it to DELAYED/2. Please feel free to tell me if I should cancel it.

cu
Adrian
diffstat for kdb-3.2.0 kdb-3.2.0

 changelog                                |    7 +++
 patches/0001-cmake-SET-CMP0059-NEW.patch |   64 +++++++++++++++++++++++++++++++
 patches/series                           |    1 
 3 files changed, 72 insertions(+)

diff -Nru kdb-3.2.0/debian/changelog kdb-3.2.0/debian/changelog
--- kdb-3.2.0/debian/changelog	2025-10-06 21:05:38.000000000 +0300
+++ kdb-3.2.0/debian/changelog	2026-03-16 16:52:22.000000000 +0200
@@ -1,3 +1,10 @@
+kdb (3.2.0-9.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Backport upstream fix for FTBFS with CMake 4. (Closes: #1125604)
+
+ -- Adrian Bunk <[email protected]>  Mon, 16 Mar 2026 16:52:22 +0200
+
 kdb (3.2.0-9) unstable; urgency=medium
 
   * Drop Rules-Requires-Root: no, no more needed since Debian trixie.
diff -Nru kdb-3.2.0/debian/patches/0001-cmake-SET-CMP0059-NEW.patch kdb-3.2.0/debian/patches/0001-cmake-SET-CMP0059-NEW.patch
--- kdb-3.2.0/debian/patches/0001-cmake-SET-CMP0059-NEW.patch	1970-01-01 02:00:00.000000000 +0200
+++ kdb-3.2.0/debian/patches/0001-cmake-SET-CMP0059-NEW.patch	2026-03-16 16:52:22.000000000 +0200
@@ -0,0 +1,64 @@
+From 0242e312c68665ef2c8e380c39916e8ba96f623b Mon Sep 17 00:00:00 2001
+From: Jaroslaw Staniek <[email protected]>
+Date: Sun, 10 Apr 2022 22:27:32 +0200
+Subject: cmake: SET CMP0059 NEW
+
+#  Please enter the commit message for your changes. Lines starting
+#  with '#' will be ignored, and an empty message aborts the commit.
+#
+#  You MUST wrap all lines at 72 characters.
+#  Please see http://techbase.kde.org/Policies/Commit_Policy
+#
+# ==[ Subject: One line only short meaningful description for logs ]===|
+
+# ==[ Blank: Follow the Subject with a blank line, do NOT remove ]=====|
+
+# ==[ Details: Describe what changed and explain why it changed]=======|
+
+
+# ==[ Fields: Uncomment and edit where applicable ]====================|
+# Differential Revision: https://phabricator.kde.org/D
+#GIT_SILENT
+#
+# --[ Close bug in bugs.kde.org as fixed ]-----------------------------|
+#BUG: <bug number>
+#FIXED-IN: <optional release version>
+#
+# --[ Add to release changelog optionally close wish in bugs.kde.org ]-|
+#FEATURE: <optional bug number>
+#FIXED-IN: <optional release version>
+#
+# --[ Copy commit message to a bug or wish in bugs.kde.org ]-----------|
+#CCBUG: <bug number>
+#
+# --[ Copy commit message to an email address ]------------------------|
+#CCMAIL: <email>
+#
+# --[ Close a review on git.reviewboard.kde.org as submitted ]---------|
+#REVIEW: <review number>
+#
+# --[ Notify documentation team of user visible changes ]--------------|
+#GUI:
+#
+# --[ Notify Commit Digest team of something interesting ]-------------|
+#DIGEST:
+---
+ cmake/modules/SetKDbCMakePolicies.cmake | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/cmake/modules/SetKDbCMakePolicies.cmake b/cmake/modules/SetKDbCMakePolicies.cmake
+index bc28d8a8..85370c22 100644
+--- a/cmake/modules/SetKDbCMakePolicies.cmake
++++ b/cmake/modules/SetKDbCMakePolicies.cmake
+@@ -9,7 +9,7 @@ cmake_policy(SET CMP0053 NEW) # TODO remove, temporary fix for a bug in Qt 5.8's
+                               # "Simplify variable reference and escape sequence evaluation"
+ 
+ if(POLICY CMP0059) # Don’t treat DEFINITIONS as a built-in directory property.
+-    cmake_policy(SET CMP0059 OLD)
++    cmake_policy(SET CMP0059 NEW)
+ endif()
+ if(POLICY CMP0063) # Honor visibility properties for all target types (since cmake 3.3)
+     cmake_policy(SET CMP0063 NEW)
+-- 
+2.47.3
+
diff -Nru kdb-3.2.0/debian/patches/series kdb-3.2.0/debian/patches/series
--- kdb-3.2.0/debian/patches/series	2025-02-05 19:43:08.000000000 +0200
+++ kdb-3.2.0/debian/patches/series	2026-03-16 16:52:22.000000000 +0200
@@ -2,3 +2,4 @@
 upstream_Fix-build-with-newer-Qt.patch
 upstream_Fix-build-with-newer-ICU.patch
 enable_debianabimanager.diff
+0001-cmake-SET-CMP0059-NEW.patch

Reply via email to