summaryrefslogtreecommitdiff
path: root/devel/qt6-tools/files/patch-.cmake.conf
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--devel/qt6-tools/files/patch-.cmake.conf19
1 files changed, 19 insertions, 0 deletions
diff --git a/devel/qt6-tools/files/patch-.cmake.conf b/devel/qt6-tools/files/patch-.cmake.conf
new file mode 100644
index 000000000000..ec629a036b7e
--- /dev/null
+++ b/devel/qt6-tools/files/patch-.cmake.conf
@@ -0,0 +1,19 @@
+Supply the version of LLVM we are intending to use via QDOC_USER_CLANG_VERSION,
+a made-up CMake varible derived from LLVM_VERSION in the port Makefile, instead
+of iterating through potential candidates. This avoids mismatches during the
+configure stage when a user has a version of LLVM installed greater than what is
+set in DEFAULT_VERSIONS.
+
+PR: 287430
+
+--- .cmake.conf.orig 2025-05-29 00:19:42 UTC
++++ .cmake.conf
+@@ -3,7 +3,7 @@ set(QDOC_SUPPORTED_CLANG_VERSIONS
+ set(QT_EXTRA_INTERNAL_TARGET_DEFINES "QT_NO_AS_CONST=1")
+ set(QDOC_MINIMUM_CLANG_VERSION "17")
+ set(QDOC_SUPPORTED_CLANG_VERSIONS
+- "20.1" "19.1" "18.1" "17.0"
++ ${QDOC_USER_CLANG_VERSION}
+ )
+ list(APPEND QT_EXTRA_INTERNAL_TARGET_DEFINES "QT_NO_FOREACH=1")
+ list(APPEND QT_EXTRA_INTERNAL_TARGET_DEFINES "QT_NO_CONTEXTLESS_CONNECT=1")