commit: 9f0b6275159d428016c2282bbf032395e2b37332 Author: Andrey Grozin <grozin <AT> gentoo <DOT> org> AuthorDate: Fri Oct 10 16:01:37 2025 +0000 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org> CommitDate: Fri Oct 10 16:01:37 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f0b6275
app-text/crqt-ng: fix cmake_minimum_required Closes: https://bugs.gentoo.org/957497 Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org> app-text/crqt-ng/crqt-ng-1.0.15.ebuild | 2 ++ .../crqt-ng/files/cmake_minimum_required.patch | 25 ++++++++++++++++++++++ 2 files changed, 27 insertions(+) diff --git a/app-text/crqt-ng/crqt-ng-1.0.15.ebuild b/app-text/crqt-ng/crqt-ng-1.0.15.ebuild index e5a28ddf2367..d69ea10c5bf9 100644 --- a/app-text/crqt-ng/crqt-ng-1.0.15.ebuild +++ b/app-text/crqt-ng/crqt-ng-1.0.15.ebuild @@ -20,6 +20,8 @@ RDEPEND="${CDEPEND}" BDEPEND="${CDEPEND} dev-qt/qttools:6[linguist]" +PATCHES=( "${FILESDIR}"/cmake_minimum_required.patch ) + src_prepare() { cmake_src_prepare xdg_environment_reset diff --git a/app-text/crqt-ng/files/cmake_minimum_required.patch b/app-text/crqt-ng/files/cmake_minimum_required.patch new file mode 100644 index 000000000000..af2b94d2968b --- /dev/null +++ b/app-text/crqt-ng/files/cmake_minimum_required.patch @@ -0,0 +1,25 @@ +From 47af063dc9b72f09c1e53225c7888c5f576f90a1 Mon Sep 17 00:00:00 2001 +From: Aleksey Chernov <[email protected]> +Date: Fri, 10 Oct 2025 00:52:54 +0400 +Subject: [PATCH] `cmake_minimum_required` is specified in the correct place. + +--- + CMakeLists.txt | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index cd01e87..3f8d2e2 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,7 +1,6 @@ ++cmake_minimum_required(VERSION 3.14 FATAL_ERROR) + project(crqt-ng) + +-cmake_minimum_required(VERSION 3.0.0 FATAL_ERROR) +- + set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules/") + + +-- +2.50.1 (Apple Git-155) +
