diffstat for deepin-terminal-5.9.51+dfsg deepin-terminal-5.9.51+dfsg

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

diff -Nru deepin-terminal-5.9.51+dfsg/debian/changelog deepin-terminal-5.9.51+dfsg/debian/changelog
--- deepin-terminal-5.9.51+dfsg/debian/changelog	2025-02-17 23:43:15.000000000 +0200
+++ deepin-terminal-5.9.51+dfsg/debian/changelog	2025-10-11 18:23:53.000000000 +0300
@@ -1,3 +1,10 @@
+deepin-terminal (5.9.51+dfsg-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with CMake 4. (Closes: #1112836)
+
+ -- Adrian Bunk <bunk@debian.org>  Sat, 11 Oct 2025 18:23:53 +0300
+
 deepin-terminal (5.9.51+dfsg-1) unstable; urgency=medium
 
   * New upstream release. (Closes: #1096235)
diff -Nru deepin-terminal-5.9.51+dfsg/debian/patches/cmake-4.patch deepin-terminal-5.9.51+dfsg/debian/patches/cmake-4.patch
--- deepin-terminal-5.9.51+dfsg/debian/patches/cmake-4.patch	1970-01-01 02:00:00.000000000 +0200
+++ deepin-terminal-5.9.51+dfsg/debian/patches/cmake-4.patch	2025-10-11 18:23:53.000000000 +0300
@@ -0,0 +1,12 @@
+Description: Fix FTBFS with CMake 4
+Author: Adrian Bunk <bunk@debian.org>
+Bug-Debian: https://bugs.debian.org/1112836
+
+--- deepin-terminal-5.9.51+dfsg.orig/3rdparty/terminalwidget/CMakeLists.txt
++++ deepin-terminal-5.9.51+dfsg/3rdparty/terminalwidget/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR)
++cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
+ # CMP0000: Call the cmake_minimum_required() command at the beginning of the top-level
+ # CMakeLists.txt file even before calling the project() command.
+ # The cmake_minimum_required(VERSION) command implicitly invokes the cmake_policy(VERSION)
diff -Nru deepin-terminal-5.9.51+dfsg/debian/patches/series deepin-terminal-5.9.51+dfsg/debian/patches/series
--- deepin-terminal-5.9.51+dfsg/debian/patches/series	2025-02-17 23:43:09.000000000 +0200
+++ deepin-terminal-5.9.51+dfsg/debian/patches/series	2025-10-11 18:23:53.000000000 +0300
@@ -2,3 +2,4 @@
 0002-fix-desktop-entry-invalid-category-for-DDE.patch
 0003-avoid-regeneration-of-ts-files.patch
 0004-Fix-ftbfs-with-lxqt-build-tools-2.0.0.patch
+cmake-4.patch
