Skip to contentSkip to conversation

package/openobex: fix build with cmake 4

PATCH Applied Bernd Kuhls 2 participants 2 messages Jan 17 – Feb 4

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/openobex: fix build with cmake 4

Fixes:
https://autobuild.buildroot.net/results/258/2589f75f7415cd1a2fd7cf83c6166c900b03cce0/

---
Please note that the patch contains crlf line endings.

 .../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
package/openobex/0001-Fix-FTBFS-with-CMake-4.patch new file +29 -0
new file mode 100644
index 0000000000..9ceee93474
@@ -0,0 +1,29 @@
+From bfd33e3ebf1fe253542b9ea2b6e034c8ce30866d Mon Sep 17 00:00:00 2001
+From: Adrian Bunk <[email protected]>
+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 <[email protected]>
+---
+ 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
+
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 4 lines · Bernd Kuhls

Fixes:
https://autobuild.buildroot.net/results/258/2589f75f7415cd1a2fd7cf83c6166c900b03cce0/

Applied, thanks!

Quoted 2 lines

---
Please note that the patch contains crlf line endings.

I missed that note initially, so I had to do a fixup patch to get things correct. Sorry about that :-/

Best regards,

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot