diffstat for fqterm-0.9.10.1 fqterm-0.9.10.1

 changelog                                           |    7 ++++
 patches/0001-set-minimum-CMake-version-to-3.9.patch |   30 ++++++++++++++++++++
 patches/series                                      |    1 
 3 files changed, 38 insertions(+)

diff -Nru fqterm-0.9.10.1/debian/changelog fqterm-0.9.10.1/debian/changelog
--- fqterm-0.9.10.1/debian/changelog	2025-01-22 03:48:56.000000000 +0200
+++ fqterm-0.9.10.1/debian/changelog	2025-11-19 21:50:50.000000000 +0200
@@ -1,3 +1,10 @@
+fqterm (0.9.10.1-5.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Backport upstream fix for FTBFS with CMake 4. (Closes: #1112930)
+
+ -- Adrian Bunk <bunk@debian.org>  Wed, 19 Nov 2025 21:50:50 +0200
+
 fqterm (0.9.10.1-5) unstable; urgency=medium
 
   * Team upload.
diff -Nru fqterm-0.9.10.1/debian/patches/0001-set-minimum-CMake-version-to-3.9.patch fqterm-0.9.10.1/debian/patches/0001-set-minimum-CMake-version-to-3.9.patch
--- fqterm-0.9.10.1/debian/patches/0001-set-minimum-CMake-version-to-3.9.patch	1970-01-01 02:00:00.000000000 +0200
+++ fqterm-0.9.10.1/debian/patches/0001-set-minimum-CMake-version-to-3.9.patch	2025-11-19 21:50:50.000000000 +0200
@@ -0,0 +1,30 @@
+From 35af47e9b1fcfc9bb5b9af33864c38cffda0d964 Mon Sep 17 00:00:00 2001
+From: Iru Cai <mytbk920423@gmail.com>
+Date: Sun, 13 Jun 2021 20:26:47 +0800
+Subject: set minimum CMake version to 3.9
+
+Use the new CMP0069 policy from CMake 3.9 to make using LTO easier.
+---
+ CMakeLists.txt | 6 +-----
+ 1 file changed, 1 insertion(+), 5 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 5bc5f61..b90946a 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -2,11 +2,7 @@ project(fqterm)
+ 
+ set(FQTERM_VERSION "0.9.10.1")
+ set(CMAKE_VERBOSE_MAKEFILE ON)
+-cmake_minimum_required(VERSION 3.0.0 FATAL_ERROR)
+-
+-if(COMMAND cmake_policy)
+-  cmake_policy(SET CMP0003 NEW)
+-endif(COMMAND cmake_policy)
++cmake_minimum_required(VERSION 3.9)
+ 
+ set(CMAKE_MODULE_PATH
+   ${CMAKE_SOURCE_DIR}/cmake
+-- 
+2.30.2
+
diff -Nru fqterm-0.9.10.1/debian/patches/series fqterm-0.9.10.1/debian/patches/series
--- fqterm-0.9.10.1/debian/patches/series	2025-01-22 03:48:34.000000000 +0200
+++ fqterm-0.9.10.1/debian/patches/series	2025-11-19 21:50:50.000000000 +0200
@@ -1,2 +1,3 @@
 patch.ssh_evp_cipher.c
 patch.update-smth-hostname
+0001-set-minimum-CMake-version-to-3.9.patch
