diff options
| author | Andreas Sturmlechner <asturm@gentoo.org> | 2025-07-01 22:34:02 +0200 |
|---|---|---|
| committer | Andreas Sturmlechner <asturm@gentoo.org> | 2025-07-01 22:42:42 +0200 |
| commit | 7ee9d9bedde9c202f0cdce76c1888e81dbc5d70e (patch) | |
| tree | 7bc60119e46bb81511b03d1b00352fedff70b8af /dev-lang/mono/files/mono-6.12.0.199-cmake4.patch | |
| parent | f50ddc1f0f243d2c528d8719a78218f2812b91d0 (diff) | |
| download | gentoo-7ee9d9bedde9c202f0cdce76c1888e81dbc5d70e.tar.gz gentoo-7ee9d9bedde9c202f0cdce76c1888e81dbc5d70e.tar.bz2 gentoo-7ee9d9bedde9c202f0cdce76c1888e81dbc5d70e.zip | |
dev-lang/mono: Fix build w/ cmake-4
https://gitlab.winehq.org/mono/mono/-/commit/831415ed
https://gitlab.winehq.org/mono/boringssl/-/commit/2153da68
Closes: https://bugs.gentoo.org/957434
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-lang/mono/files/mono-6.12.0.199-cmake4.patch')
| -rw-r--r-- | dev-lang/mono/files/mono-6.12.0.199-cmake4.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-lang/mono/files/mono-6.12.0.199-cmake4.patch b/dev-lang/mono/files/mono-6.12.0.199-cmake4.patch new file mode 100644 index 000000000000..ef39f8090811 --- /dev/null +++ b/dev-lang/mono/files/mono-6.12.0.199-cmake4.patch @@ -0,0 +1,32 @@ +From 831415edd2a578a2b4851996ca796f47dbc3f2f3 Mon Sep 17 00:00:00 2001 +From: Esme Povirk <esme@codeweavers.com> +Date: Fri, 11 Apr 2025 18:08:04 +0000 +Subject: [PATCH] btls: Fix build on cmake 4.x. + +--- + mono/btls/CMakeLists.txt | 9 +-------- + 1 files changed, 1 insertions(+), 8 deletions(-) + +diff --git a/mono/btls/CMakeLists.txt b/mono/btls/CMakeLists.txt +index 992f41e4c7f..dbad836fc27 100644 +--- a/mono/btls/CMakeLists.txt ++++ b/mono/btls/CMakeLists.txt +@@ -1,14 +1,7 @@ +-cmake_minimum_required (VERSION 2.8.10) ++cmake_minimum_required (VERSION 2.8.10...4.0) + + project (mono-btls) + +-if(POLICY CMP0026) +- cmake_policy(SET CMP0026 NEW) +-endif() +-if(POLICY CMP0042) +- cmake_policy(SET CMP0042 NEW) +-endif() +- + enable_language(C) + enable_language(CXX) + +-- +GitLab + |
