From b4be62040b7b479678386fe0fe83ace1c54fa3bd Mon Sep 17 00:00:00 2001 From: Christian Marangi Date: Mon, 24 Nov 2025 20:01:39 +0100 Subject: [PATCH] ovsd: add patch for CMake >= 4.0 support Add patch for ovsd for CMake >= 4.0 support. Signed-off-by: Christian Marangi --- ...e-min-version-to-3.10-for-CMake-4.0-.patch | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 net/ovsd/patches/100-CMakeLists-update-min-version-to-3.10-for-CMake-4.0-.patch diff --git a/net/ovsd/patches/100-CMakeLists-update-min-version-to-3.10-for-CMake-4.0-.patch b/net/ovsd/patches/100-CMakeLists-update-min-version-to-3.10-for-CMake-4.0-.patch new file mode 100644 index 0000000000..8888f145e2 --- /dev/null +++ b/net/ovsd/patches/100-CMakeLists-update-min-version-to-3.10-for-CMake-4.0-.patch @@ -0,0 +1,25 @@ +From 45c97274e8685a568184cec117557102f5c705fe Mon Sep 17 00:00:00 2001 +From: Christian Marangi +Date: Mon, 24 Nov 2025 19:47:37 +0100 +Subject: [PATCH] CMakeLists: update min version to 3.10 for CMake >= 4.0 + support + +Update minimum version of CMake to 3.10 for CMake >= 4.0 version +support. + +New CMake require 3.5 as the minimum version with that increased to 3.10 +in the next CMake release. + +Signed-off-by: Christian Marangi +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 2.6) ++cmake_minimum_required(VERSION 3.10) + + PROJECT(ovsd C) + ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -Wmissing-declarations) -- 2.30.2