From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CBA031581CA for ; Sat, 14 Jun 2025 10:49:51 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id BAF313424DB for ; Sat, 14 Jun 2025 10:49:51 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id E20681104E1; Sat, 14 Jun 2025 10:49:47 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id D76E91104DE for ; Sat, 14 Jun 2025 10:49:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 89C863424D1 for ; Sat, 14 Jun 2025 10:49:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 27F5329A7 for ; Sat, 14 Jun 2025 10:49:46 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1749898067.e00e9692a9e469bfbc4dc8f099acd88296f24a5d.asturm@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: eclass/ X-VCS-Repository: proj/kde X-VCS-Files: eclass/cmake.eclass X-VCS-Directories: eclass/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: e00e9692a9e469bfbc4dc8f099acd88296f24a5d X-VCS-Branch: master Date: Sat, 14 Jun 2025 10:49:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2e9ee61f-f0c0-4bda-be24-7edebb792b63 X-Archives-Hash: ee2e232dd8a1f789464ea4240a5dab68 commit: e00e9692a9e469bfbc4dc8f099acd88296f24a5d Author: Andreas Sturmlechner gentoo org> AuthorDate: Fri Jun 13 15:26:53 2025 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Jun 14 10:47:47 2025 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=e00e9692 cmake.eclass: Avoid none-detection by ensuring match starts w/ digit Thanks-to: Ionen Wolkens gentoo.org> Closes: https://bugs.gentoo.org/957990 Signed-off-by: Andreas Sturmlechner gentoo.org> eclass/cmake.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass index 0ad1ca821b..6ff88d48ce 100644 --- a/eclass/cmake.eclass +++ b/eclass/cmake.eclass @@ -253,7 +253,7 @@ _cmake_check_build_dir() { # Returns 0 if the regex matched (a lower-than-specified version found). _cmake_minreqver-lt() { local ver chk=1 - ver=$(sed -ne "/cmake_minimum_required/I{s/.*\(\.\.\.*\|\s\)\([0-9.]*\)\([)]\|\s\).*$/\2/p;q}" \ + ver=$(sed -ne "/cmake_minimum_required/I{s/.*\(\.\.\.*\|\s\)\([0-9][0-9.]*\)\([)]\|\s\).*$/\2/p;q}" \ "${2}" 2>/dev/null \ ) if [[ -n ${ver} ]] && ver_test "${ver}" -lt "${1}"; then