diffstat for bcmatroska2-5.3.101 bcmatroska2-5.3.101

 changelog                                 |    7 +++++++
 patches/0001-Fix-build-with-CMake-4.patch |   26 ++++++++++++++++++++++++++
 patches/series                            |    1 +
 3 files changed, 34 insertions(+)

diff -Nru bcmatroska2-5.3.101/debian/changelog bcmatroska2-5.3.101/debian/changelog
--- bcmatroska2-5.3.101/debian/changelog	2025-02-22 21:58:21.000000000 +0200
+++ bcmatroska2-5.3.101/debian/changelog	2025-11-12 05:46:07.000000000 +0200
@@ -1,3 +1,10 @@
+bcmatroska2 (5.3.101-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Backport upstream fix for FTBFS with CMake 4. (Closes: #1112723)
+
+ -- Adrian Bunk <bunk@debian.org>  Wed, 12 Nov 2025 05:46:07 +0200
+
 bcmatroska2 (5.3.101-2) unstable; urgency=medium
 
   * provide pkgconf files
diff -Nru bcmatroska2-5.3.101/debian/patches/0001-Fix-build-with-CMake-4.patch bcmatroska2-5.3.101/debian/patches/0001-Fix-build-with-CMake-4.patch
--- bcmatroska2-5.3.101/debian/patches/0001-Fix-build-with-CMake-4.patch	1970-01-01 02:00:00.000000000 +0200
+++ bcmatroska2-5.3.101/debian/patches/0001-Fix-build-with-CMake-4.patch	2025-11-12 05:46:07.000000000 +0200
@@ -0,0 +1,26 @@
+From ec86586db07973b98bb669abfc7485de000a416a Mon Sep 17 00:00:00 2001
+From: Ghislain MARY <ghislain.mary@belledonne-communications.com>
+Date: Mon, 14 Apr 2025 11:07:41 +0200
+Subject: Fix build with CMake 4.
+
+The minimum required CMake version must be >= 3.5. Use 3.22 as this is the version required to build the linphone SDK.
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 923324f..8ef3d4f 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -20,7 +20,7 @@
+ #
+ ############################################################################
+ 
+-cmake_minimum_required(VERSION 3.1)
++cmake_minimum_required(VERSION 3.22)
+ 
+ project(BCMatroska2
+ 	VERSION ${DEB_VERSION_UPSTREAM}
+-- 
+2.30.2
+
diff -Nru bcmatroska2-5.3.101/debian/patches/series bcmatroska2-5.3.101/debian/patches/series
--- bcmatroska2-5.3.101/debian/patches/series	2025-02-22 21:58:21.000000000 +0200
+++ bcmatroska2-5.3.101/debian/patches/series	2025-11-12 05:46:04.000000000 +0200
@@ -2,3 +2,4 @@
 002-fix-cmake-install-path.patch
 0003-provide-pkgconf-file.patch
 0004-fix-INSTALL_INTERFACE.patch
+0001-Fix-build-with-CMake-4.patch
