git: 62e44c6d64d5 - main - lang/mono5.20: Fix building with CMake 4

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Mon, 21 Sep 2026 18:27:46 UTC
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=62e44c6d64d5f3518ef5a1f10e9601d7f2c86269

commit 62e44c6d64d5f3518ef5a1f10e9601d7f2c86269
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-09-21 18:26:22 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-09-21 18:26:22 +0000

    lang/mono5.20: Fix building with CMake 4
---
 lang/mono5.20/files/patch-external_boringssl_CMakeLists.txt | 8 ++++++++
 lang/mono5.20/files/patch-mono_btls_CMakeLists.txt          | 8 ++++++++
 2 files changed, 16 insertions(+)

diff --git a/lang/mono5.20/files/patch-external_boringssl_CMakeLists.txt b/lang/mono5.20/files/patch-external_boringssl_CMakeLists.txt
new file mode 100644
index 000000000000..b9e3efb9e1b9
--- /dev/null
+++ b/lang/mono5.20/files/patch-external_boringssl_CMakeLists.txt
@@ -0,0 +1,8 @@
+--- external/boringssl/CMakeLists.txt.orig	2019-07-16 18:16:26 UTC
++++ external/boringssl/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required (VERSION 2.8.10)
++cmake_minimum_required (VERSION 3.5)
+ 
+ # Defer enabling C and CXX languages.
+ project (BoringSSL NONE)
diff --git a/lang/mono5.20/files/patch-mono_btls_CMakeLists.txt b/lang/mono5.20/files/patch-mono_btls_CMakeLists.txt
new file mode 100644
index 000000000000..c7ce65cca9d4
--- /dev/null
+++ b/lang/mono5.20/files/patch-mono_btls_CMakeLists.txt
@@ -0,0 +1,8 @@
+--- mono/btls/CMakeLists.txt.orig	2019-07-16 18:16:12 UTC
++++ mono/btls/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required (VERSION 2.8.10)
++cmake_minimum_required (VERSION 3.5)
+ 
+ project (mono-btls)
+