diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-25 21:54:27 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-25 21:54:27 +0100 |
commit | c22e93ab35a8cb604c41623a7b2cda059c462b70 (patch) | |
tree | cf572f544af748369df154f1d61d4718e1ee780b /dev-util/clazy/files/clazy-1.11-fix-regex-detect.patch | |
parent | b8c48743664466ac0f638f0949fd78bfb9f5eae6 (diff) |
gentoo auto-resync : 25:10:2022 - 21:54:27
Diffstat (limited to 'dev-util/clazy/files/clazy-1.11-fix-regex-detect.patch')
-rw-r--r-- | dev-util/clazy/files/clazy-1.11-fix-regex-detect.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-util/clazy/files/clazy-1.11-fix-regex-detect.patch b/dev-util/clazy/files/clazy-1.11-fix-regex-detect.patch new file mode 100644 index 000000000000..a60206365ea1 --- /dev/null +++ b/dev-util/clazy/files/clazy-1.11-fix-regex-detect.patch @@ -0,0 +1,25 @@ +From 336b54f28250938cc2a8d7bb78e638e79b6467d5 Mon Sep 17 00:00:00 2001 +From: Hannah von Reth <vonreth@kde.org> +Date: Fri, 8 Jul 2022 11:19:22 +0000 +Subject: [PATCH] Fix regex detection + +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 434a57c9..3c780b0d 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -81,7 +81,7 @@ endif() + + # Look for std::regex support + message("Looking for std::regex support...") +-try_run(REGEX_RUN_RESULT COMPILE_RESULT ${CMAKE_BINARY_DIR} ${CMAKE_CURRENT_LIST_DIR}/.cmake_has_regex_test.cpp) ++try_run(REGEX_RUN_RESULT COMPILE_RESULT ${CMAKE_BINARY_DIR} ${CMAKE_CURRENT_LIST_DIR}/.cmake_has_regex_test.cpp CXX_STANDARD 17 CXX_STANDARD_REQUIRED true) + + if(NOT REGEX_RUN_RESULT EQUAL 0) + message("Using boost::regex instead of std::regex") +-- +GitLab + |