From ff531c94ba7adae9ddf2635480fb7d50c824c092 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Fri, 8 Aug 2025 19:03:46 -0400 Subject: [PATCH] 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 --- 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 bcb865eae2456..d9550b0d53d83 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)