commit:     e1b2c889ed20b28100ba601b415925a2b73cde80
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 12 14:18:47 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 12 14:19:36 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1b2c889

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 <sam <AT> gentoo.org>

 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 fa2820035cb7..3787a84805f6 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() {

Reply via email to