From 1dd0ac479bf660a3624b6ab4b313359430c155d6 Mon Sep 17 00:00:00 2001 From: Rudi Heitbaum Date: Fri, 28 Mar 2025 07:43:00 +0000 Subject: [PATCH] mariadb: allow build with cmake-4.0.0 patch is for https://github.com/codership/wsrep-lib - 246 --- .../mariadb-246-build-with-cmake-4.0.0.patch | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 packages/addons/service/mariadb/patches/mariadb-246-build-with-cmake-4.0.0.patch diff --git a/packages/addons/service/mariadb/patches/mariadb-246-build-with-cmake-4.0.0.patch b/packages/addons/service/mariadb/patches/mariadb-246-build-with-cmake-4.0.0.patch new file mode 100644 index 0000000000..0ce3498129 --- /dev/null +++ b/packages/addons/service/mariadb/patches/mariadb-246-build-with-cmake-4.0.0.patch @@ -0,0 +1,22 @@ +From 2abb5e794fdaf6114d4691f7921ec7bda2902603 Mon Sep 17 00:00:00 2001 +From: fundawang +Date: Sat, 22 Mar 2025 23:08:46 +0800 +Subject: [PATCH] Update cmake minimum version range + +--- + wsrep-lib/CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/wsrep-lib/CMakeLists.txt b/wsrep-lib/CMakeLists.txt +index ef2f4c8b..b6dd69f1 100644 +--- a/wsrep-lib/CMakeLists.txt ++++ b/wsrep-lib/CMakeLists.txt +@@ -2,7 +2,7 @@ + # Copyright (C) 2021 Codership Oy + # + +-cmake_minimum_required (VERSION 2.8) ++cmake_minimum_required (VERSION 2.8...4.0) + + # Parse version from version header file and store it into + # WSREP_LIB_VERSION.