From e1b2c889ed20b28100ba601b415925a2b73cde80 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sun, 12 Oct 2025 15:18:47 +0100 Subject: [PATCH] toolchain-funcs.eclass: fix tc-check-min_ver example $ python3.13 -c 'import portage; print(portage.versions.vercmp("13.2.0", "13.2"))' 1 Bug: https://bugs.gentoo.org/964195 Signed-off-by: Sam James --- eclass/toolchain-funcs.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass index fa2820035cb7e..3787a84805f64 100644 --- a/eclass/toolchain-funcs.eclass +++ b/eclass/toolchain-funcs.eclass @@ -659,11 +659,11 @@ _tc-has-openmp() { # build-time, e.g. # @CODE # pkg_pretend() { -# [[ ${MERGE_TYPE} != binary ]] && tc-check-min_ver gcc 13.2.0 +# [[ ${MERGE_TYPE} != binary ]] && tc-check-min_ver gcc 13.2 # } # # pkg_setup() { -# [[ ${MERGE_TYPE} != binary ]] && tc-check-min_ver gcc 13.2.0 +# [[ ${MERGE_TYPE} != binary ]] && tc-check-min_ver gcc 13.2 # } # @CODE tc-check-min_ver() {