diffstat for msopenh264-5.2.0+git20240521.041b07a msopenh264-5.2.0+git20240521.041b07a

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

diff -Nru msopenh264-5.2.0+git20240521.041b07a/debian/changelog msopenh264-5.2.0+git20240521.041b07a/debian/changelog
--- msopenh264-5.2.0+git20240521.041b07a/debian/changelog	2025-02-28 09:58:09.000000000 +0200
+++ msopenh264-5.2.0+git20240521.041b07a/debian/changelog	2025-10-11 15:54:27.000000000 +0300
@@ -1,3 +1,10 @@
+msopenh264 (5.2.0+git20240521.041b07a-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Backport upstream fix for FTBFS with CMake 4. (Closes: #1113299)
+
+ -- Adrian Bunk <bunk@debian.org>  Sat, 11 Oct 2025 15:54:27 +0300
+
 msopenh264 (5.2.0+git20240521.041b07a-2) unstable; urgency=medium
 
   * Build shared library. (Closes: #1099079)
diff -Nru msopenh264-5.2.0+git20240521.041b07a/debian/patches/0001-Fix-build-with-CMake-4.patch msopenh264-5.2.0+git20240521.041b07a/debian/patches/0001-Fix-build-with-CMake-4.patch
--- msopenh264-5.2.0+git20240521.041b07a/debian/patches/0001-Fix-build-with-CMake-4.patch	1970-01-01 02:00:00.000000000 +0200
+++ msopenh264-5.2.0+git20240521.041b07a/debian/patches/0001-Fix-build-with-CMake-4.patch	2025-10-11 15:53:57.000000000 +0300
@@ -0,0 +1,26 @@
+From 7243bdb10462f80d1c3af9d36c5523e992720aa9 Mon Sep 17 00:00:00 2001
+From: Ghislain MARY <ghislain.mary@belledonne-communications.com>
+Date: Mon, 14 Apr 2025 11:19:53 +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 1c5bcc1..bd7c3a7 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -20,7 +20,7 @@
+ #
+ ############################################################################
+ 
+-cmake_minimum_required(VERSION 3.0)
++cmake_minimum_required(VERSION 3.22)
+ project(MSOpenH264 VERSION 1.2.1 LANGUAGES CXX)
+ 
+ set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib/mediastreamer2/plugins")
+-- 
+2.30.2
+
diff -Nru msopenh264-5.2.0+git20240521.041b07a/debian/patches/series msopenh264-5.2.0+git20240521.041b07a/debian/patches/series
--- msopenh264-5.2.0+git20240521.041b07a/debian/patches/series	1970-01-01 02:00:00.000000000 +0200
+++ msopenh264-5.2.0+git20240521.041b07a/debian/patches/series	2025-10-11 15:54:25.000000000 +0300
@@ -0,0 +1 @@
+0001-Fix-build-with-CMake-4.patch
