commit: ff531c94ba7adae9ddf2635480fb7d50c824c092 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> AuthorDate: Fri Aug 8 23:03:46 2025 +0000 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> CommitDate: Fri Aug 8 23:10:11 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff531c94
games-emulation/mgba: backport fix for cmake4 with USE=discord This has many unused CMakeLists.txt in third-party/ which led to the addition of the QA skip variable, but this one is in fact used with USE=discord. Closes: https://bugs.gentoo.org/961227 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> games-emulation/mgba/files/mgba-0.10.5-cmake4.patch | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/games-emulation/mgba/files/mgba-0.10.5-cmake4.patch b/games-emulation/mgba/files/mgba-0.10.5-cmake4.patch index bcb865eae245..d9550b0d53d8 100644 --- a/games-emulation/mgba/files/mgba-0.10.5-cmake4.patch +++ b/games-emulation/mgba/files/mgba-0.10.5-cmake4.patch @@ -1,9 +1,12 @@ -Bug: https://bugs.gentoo.org/958356 +https://bugs.gentoo.org/958356 +https://bugs.gentoo.org/961227 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -1,4 +1,4 @@ +@@ -1 +1 @@ -cmake_minimum_required(VERSION 3.1) +cmake_minimum_required(VERSION 3.10) - list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/src/platform/cmake/") - - if(POLICY CMP0025) +--- a/src/third-party/discord-rpc/CMakeLists.txt ++++ b/src/third-party/discord-rpc/CMakeLists.txt +@@ -1 +1 @@ +-cmake_minimum_required (VERSION 3.1.0) ++cmake_minimum_required (VERSION 3.10)
