* [Buildroot] [PATCH 1/1] package/cfm: fix build with cmake 4
@ 2026-01-03 14:13 Bernd Kuhls
2026-01-05 8:25 ` Horatiu Vultur via buildroot
2026-01-08 11:15 ` Thomas Petazzoni via buildroot
0 siblings, 2 replies; 3+ messages in thread
From: Bernd Kuhls @ 2026-01-03 14:13 UTC (permalink / raw)
To: buildroot; +Cc: Horatiu Vultur
Fixes:
https://autobuild.buildroot.net/results/d01/d01d8fe3a63128246ce242de450b016b4ef13baa/
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
...01-CMakeLists-fix-build-with-cmake-4.patch | 33 +++++++++++++++++++
1 file changed, 33 insertions(+)
create mode 100644 package/cfm/0001-CMakeLists-fix-build-with-cmake-4.patch
diff --git a/package/cfm/0001-CMakeLists-fix-build-with-cmake-4.patch b/package/cfm/0001-CMakeLists-fix-build-with-cmake-4.patch
new file mode 100644
index 0000000000..1219a98056
--- /dev/null
+++ b/package/cfm/0001-CMakeLists-fix-build-with-cmake-4.patch
@@ -0,0 +1,33 @@
+From d2a823ef01396cd148074a99ccbbf1ca1115b24d Mon Sep 17 00:00:00 2001
+From: Bernd Kuhls <bernd@kuhls.net>
+Date: Sat, 3 Jan 2026 14:56:38 +0100
+Subject: [PATCH] CMakeLists: fix build with cmake 4
+
+Using CMake 4 the build is broken:
+
+CMake Error at CMakeLists.txt:6 (cmake_minimum_required):
+ Compatibility with CMake < 3.5 has been removed from CMake.
+
+Upstream: https://github.com/microchip-ung/cfm/pull/1
+
+Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 5de2e0a..378e98d 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -3,7 +3,7 @@
+
+ project (cfm C)
+
+-cmake_minimum_required(VERSION 2.6)
++cmake_minimum_required(VERSION 3.5)
+
+ ## libnl ################################################
+ find_path(LibNL_INCLUDE_DIR netlink/netlink.h
+--
+2.47.3
+
--
2.47.3
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/cfm: fix build with cmake 4
2026-01-03 14:13 [Buildroot] [PATCH 1/1] package/cfm: fix build with cmake 4 Bernd Kuhls
@ 2026-01-05 8:25 ` Horatiu Vultur via buildroot
2026-01-08 11:15 ` Thomas Petazzoni via buildroot
1 sibling, 0 replies; 3+ messages in thread
From: Horatiu Vultur via buildroot @ 2026-01-05 8:25 UTC (permalink / raw)
To: Bernd Kuhls; +Cc: buildroot
The 01/03/2026 15:13, Bernd Kuhls wrote:
>
> Fixes:
> https://autobuild.buildroot.net/results/d01/d01d8fe3a63128246ce242de450b016b4ef13baa/
>
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Reviewed-by: Horatiu Vultur <horatiu.vultur@microchip.com>
> ---
> ...01-CMakeLists-fix-build-with-cmake-4.patch | 33 +++++++++++++++++++
> 1 file changed, 33 insertions(+)
> create mode 100644 package/cfm/0001-CMakeLists-fix-build-with-cmake-4.patch
>
> diff --git a/package/cfm/0001-CMakeLists-fix-build-with-cmake-4.patch b/package/cfm/0001-CMakeLists-fix-build-with-cmake-4.patch
> new file mode 100644
> index 0000000000..1219a98056
> --- /dev/null
> +++ b/package/cfm/0001-CMakeLists-fix-build-with-cmake-4.patch
> @@ -0,0 +1,33 @@
> +From d2a823ef01396cd148074a99ccbbf1ca1115b24d Mon Sep 17 00:00:00 2001
> +From: Bernd Kuhls <bernd@kuhls.net>
> +Date: Sat, 3 Jan 2026 14:56:38 +0100
> +Subject: [PATCH] CMakeLists: fix build with cmake 4
> +
> +Using CMake 4 the build is broken:
> +
> +CMake Error at CMakeLists.txt:6 (cmake_minimum_required):
> + Compatibility with CMake < 3.5 has been removed from CMake.
> +
> +Upstream: https://github.com/microchip-ung/cfm/pull/1
> +
> +Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
> +---
> + CMakeLists.txt | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/CMakeLists.txt b/CMakeLists.txt
> +index 5de2e0a..378e98d 100644
> +--- a/CMakeLists.txt
> ++++ b/CMakeLists.txt
> +@@ -3,7 +3,7 @@
> +
> + project (cfm C)
> +
> +-cmake_minimum_required(VERSION 2.6)
> ++cmake_minimum_required(VERSION 3.5)
> +
> + ## libnl ################################################
> + find_path(LibNL_INCLUDE_DIR netlink/netlink.h
> +--
> +2.47.3
> +
> --
> 2.47.3
>
--
/Horatiu
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/cfm: fix build with cmake 4
2026-01-03 14:13 [Buildroot] [PATCH 1/1] package/cfm: fix build with cmake 4 Bernd Kuhls
2026-01-05 8:25 ` Horatiu Vultur via buildroot
@ 2026-01-08 11:15 ` Thomas Petazzoni via buildroot
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-01-08 11:15 UTC (permalink / raw)
To: Bernd Kuhls; +Cc: buildroot, Horatiu Vultur
On Sat, 3 Jan 2026 15:13:00 +0100
Bernd Kuhls <bernd@kuhls.net> wrote:
> Fixes:
> https://autobuild.buildroot.net/results/d01/d01d8fe3a63128246ce242de450b016b4ef13baa/
>
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
> ---
> ...01-CMakeLists-fix-build-with-cmake-4.patch | 33 +++++++++++++++++++
> 1 file changed, 33 insertions(+)
> create mode 100644 package/cfm/0001-CMakeLists-fix-build-with-cmake-4.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-01-08 11:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-03 14:13 [Buildroot] [PATCH 1/1] package/cfm: fix build with cmake 4 Bernd Kuhls
2026-01-05 8:25 ` Horatiu Vultur via buildroot
2026-01-08 11:15 ` Thomas Petazzoni via buildroot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.