diff --git a/recipes-mono/mono/mono-6.12.0.206/0001-Btls-too-old-cmake-version.patch b/recipes-mono/mono/mono-6.12.0.206/0001-Btls-too-old-cmake-version.patch new file mode 100644 index 0000000..0ea0c66 --- /dev/null +++ b/recipes-mono/mono/mono-6.12.0.206/0001-Btls-too-old-cmake-version.patch @@ -0,0 +1,30 @@ +From ba1b408ff40e3770785a7774f2bf88758a33a49d Mon Sep 17 00:00:00 2001 +From: Marian Cingel +Date: Mon, 18 May 2026 20:12:28 +0000 +Subject: [PATCH] Btls - too old cmake version + +Upstream-Status: Pending +--- + mono/btls/CMakeLists.txt | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/mono/btls/CMakeLists.txt b/mono/btls/CMakeLists.txt +index 992f41e4c7f..012b6d12669 100644 +--- a/mono/btls/CMakeLists.txt ++++ b/mono/btls/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required (VERSION 2.8.10) ++cmake_minimum_required (VERSION 4.0) + + project (mono-btls) + +@@ -129,4 +129,4 @@ endif () + + if (CYGWIN) + target_link_libraries (mono-btls-shared wsock32 ws2_32) +-endif () +\ No newline at end of file ++endif () +-- +2.53.0 + diff --git a/recipes-mono/mono/mono-6.12.0.206/boringssl-cmake-version.diff b/recipes-mono/mono/mono-6.12.0.206/boringssl-cmake-version.diff new file mode 100644 index 0000000..d7871a3 --- /dev/null +++ b/recipes-mono/mono/mono-6.12.0.206/boringssl-cmake-version.diff @@ -0,0 +1,10 @@ +Upstream-Status: Inappropriate [Yocto specific] + +--- mono-6.12.0.206/external/boringssl/CMakeLists.txt.orig 2026-05-18 22:51:14.239405666 +0000 ++++ mono-6.12.0.206/external/boringssl/CMakeLists.txt 2026-05-18 22:51:21.634960290 +0000 +@@ -1,4 +1,4 @@ +-cmake_minimum_required (VERSION 2.8.10) ++cmake_minimum_required (VERSION 4.0) + + # Defer enabling C and CXX languages. + project (BoringSSL NONE) diff --git a/recipes-mono/mono/mono-native_6.12.0.206.bb b/recipes-mono/mono/mono-native_6.12.0.206.bb index d9e65b0..5018293 100644 --- a/recipes-mono/mono/mono-native_6.12.0.206.bb +++ b/recipes-mono/mono/mono-native_6.12.0.206.bb @@ -12,6 +12,8 @@ SRC_URI = "gitsm://github.com/mono/mono.git;protocol=https;branch=2020-02 \ file://shm_open-test-crosscompile.diff \ file://disable-mmap-MAP_32BIT-support.patch \ file://0001-Allow-passing-external-mapfile-C-build-options.patch \ + file://0001-Btls-too-old-cmake-version.patch \ + file://boringssl-cmake-version.diff \ " addtask fixup_config after do_patch before do_configure diff --git a/recipes-mono/mono/mono_6.12.0.206.bb b/recipes-mono/mono/mono_6.12.0.206.bb index 2bf2963..99c9620 100644 --- a/recipes-mono/mono/mono_6.12.0.206.bb +++ b/recipes-mono/mono/mono_6.12.0.206.bb @@ -12,6 +12,8 @@ SRC_URI = "gitsm://github.com/mono/mono.git;protocol=https;branch=2020-02 \ file://disable-mmap-MAP_32BIT-support.patch \ file://0001-Allow-passing-external-mapfile-C-build-options.patch \ file://0001-Add-libusb-1.0-mapping.patch \ + file://0001-Btls-too-old-cmake-version.patch \ + file://boringssl-cmake-version.diff \ "