From 105e4618c5f2745086baadd5c04dfe189484a604 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sat, 17 Jan 2026 11:26:22 +0100 Subject: [PATCH] package/openobex: fix build with cmake 4 Fixes: https://autobuild.buildroot.net/results/258/2589f75f7415cd1a2fd7cf83c6166c900b03cce0/ Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- .../0001-Fix-FTBFS-with-CMake-4.patch | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 package/openobex/0001-Fix-FTBFS-with-CMake-4.patch diff --git a/package/openobex/0001-Fix-FTBFS-with-CMake-4.patch b/package/openobex/0001-Fix-FTBFS-with-CMake-4.patch new file mode 100644 index 0000000000..2b675e843f --- /dev/null +++ b/package/openobex/0001-Fix-FTBFS-with-CMake-4.patch @@ -0,0 +1,29 @@ +From bfd33e3ebf1fe253542b9ea2b6e034c8ce30866d Mon Sep 17 00:00:00 2001 +From: Adrian Bunk +Date: Sat, 17 Jan 2026 11:14:15 +0100 +Subject: [PATCH] Fix FTBFS with CMake 4 + +Bug-Debian: https://bugs.debian.org/1113178 + +Downloaded from https://sources.debian.org/src/libopenobex/1.7.2-2.3/debian/patches/cmake-4.patch + +Upstream: https://gitlab.com/openobex/mainline/-/merge_requests/3 + +Signed-off-by: Bernd Kuhls +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 813f900..b237f93 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required ( VERSION 3.1 FATAL_ERROR ) ++cmake_minimum_required ( VERSION 3.5 FATAL_ERROR ) + + project ( openobex + LANGUAGES C +-- +2.47.3 +