aboutsummaryrefslogtreecommitdiff
path: root/devel/qt6-tools/files/patch-src_qdoc_cmake_QDocConfiguration.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'devel/qt6-tools/files/patch-src_qdoc_cmake_QDocConfiguration.cmake')
-rw-r--r--devel/qt6-tools/files/patch-src_qdoc_cmake_QDocConfiguration.cmake16
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/qt6-tools/files/patch-src_qdoc_cmake_QDocConfiguration.cmake b/devel/qt6-tools/files/patch-src_qdoc_cmake_QDocConfiguration.cmake
new file mode 100644
index 000000000000..7f4c312efad3
--- /dev/null
+++ b/devel/qt6-tools/files/patch-src_qdoc_cmake_QDocConfiguration.cmake
@@ -0,0 +1,16 @@
+Supply the version of LLVM we are intending to use via QDOC_USER_CLANG_VERSION,
+a custom CMake varible derived from LLVM_VERSION in the port Makefile instead of
+iterating through all 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
+
+--- src/qdoc/cmake/QDocConfiguration.cmake.orig 2025-09-25 00:29:00 UTC
++++ src/qdoc/cmake/QDocConfiguration.cmake
+@@ -11,3 +11,5 @@ set(QDOC_SUPPORTED_CLANG_VERSIONS
+ "21.1" "20.1" "19.1" "18.1" "17.0"
+ )
+
++# Try user-selected version of Clang first
++list(PREPEND QDOC_SUPPORTED_CLANG_VERSIONS "${QDOC_USER_CLANG_VERSION}")