x11-misc/sddm: Fix CMake <3.10 warning (set CMake range to 3.10..4.1.2)

Closes: https://bugs.gentoo.org/964439
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2026-01-09 21:50:44 +01:00
parent 4ca064049f
commit 4361986cd2
2 changed files with 24 additions and 0 deletions
@@ -0,0 +1,23 @@
From 13f0e5d63a8c8b56c753a4f0407b14998ac7a748 Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <asturm@gentoo.org>
Date: Fri, 17 Oct 2025 18:25:17 +0200
Subject: [PATCH] Bump cmake_minimum_required to 3.10..3.31 range
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1b5f54a..5417b9e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.5)
+cmake_minimum_required(VERSION 3.10..3.31)
project(SDDM)
--
2.51.0
@@ -58,6 +58,7 @@ PATCHES=(
"${FILESDIR}/${PN}-0.20.0-respect-user-flags.patch"
"${FILESDIR}/${PN}-0.21.0_p20250310-Xsession-xinitrc.patch" # bug 611210
"${FILESDIR}/${PN}-0.21.0_p20250310-set-XAUTHLOCALHOSTNAME.patch" # bug 913862, thx opensuse
"${FILESDIR}/${P}-cmake-minreqver-3.16.patch" # bug 964439
)
pkg_setup() {