summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-frameworks/extra-cmake-modules/files/extra-cmake-modules-5.55.0-clazy-1.5.patch')
-rw-r--r--kde-frameworks/extra-cmake-modules/files/extra-cmake-modules-5.55.0-clazy-1.5.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/kde-frameworks/extra-cmake-modules/files/extra-cmake-modules-5.55.0-clazy-1.5.patch b/kde-frameworks/extra-cmake-modules/files/extra-cmake-modules-5.55.0-clazy-1.5.patch
deleted file mode 100644
index 0ac07a60ee2..00000000000
--- a/kde-frameworks/extra-cmake-modules/files/extra-cmake-modules-5.55.0-clazy-1.5.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From ba3341c83b186e021337761e5fd689614fe14177 Mon Sep 17 00:00:00 2001
-From: Elvis Angelaccio <elvis.angelaccio@kde.org>
-Date: Sat, 2 Feb 2019 18:46:27 +0100
-Subject: Fix ENABLE_CLAZY option with clazy >= 1.5
-
-Summary:
-clazy 1.5 renamed its plugin from from `ClangLazy.so` to
-`ClazyPlugin.so` and from `clang-lazy` to `clazy`.
-
-Reviewers: apol, smartins
-
-Subscribers: kde-frameworks-devel, kde-buildsystem
-
-Tags: #frameworks, #build_system
-
-Differential Revision: https://phabricator.kde.org/D18680
----
- kde-modules/KDECMakeSettings.cmake | 7 ++++++-
- 1 file changed, 6 insertions(+), 1 deletion(-)
-
-diff --git a/kde-modules/KDECMakeSettings.cmake b/kde-modules/KDECMakeSettings.cmake
-index 3f7f5a8..17d79a0 100644
---- a/kde-modules/KDECMakeSettings.cmake
-+++ b/kde-modules/KDECMakeSettings.cmake
-@@ -293,7 +293,12 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
- option(ENABLE_CLAZY "Enable Clazy warnings" OFF)
-
- if(ENABLE_CLAZY)
-- set(CMAKE_CXX_COMPILE_OBJECT "${CMAKE_CXX_COMPILE_OBJECT} -Xclang -load -Xclang ClangLazy${CMAKE_SHARED_LIBRARY_SUFFIX} -Xclang -add-plugin -Xclang clang-lazy")
-+ find_library(CLAZY_v1_5_FOUND ClazyPlugin${CMAKE_SHARED_LIBRARY_SUFFIX})
-+ if(CLAZY_v1_5_FOUND) # clazy >= 1.5
-+ set(CMAKE_CXX_COMPILE_OBJECT "${CMAKE_CXX_COMPILE_OBJECT} -Xclang -load -Xclang ClazyPlugin${CMAKE_SHARED_LIBRARY_SUFFIX} -Xclang -add-plugin -Xclang clazy")
-+ else() # clazy < 1.5
-+ set(CMAKE_CXX_COMPILE_OBJECT "${CMAKE_CXX_COMPILE_OBJECT} -Xclang -load -Xclang ClangLazy${CMAKE_SHARED_LIBRARY_SUFFIX} -Xclang -add-plugin -Xclang clang-lazy")
-+ endif()
- endif()
- endif()
-
---
-cgit v1.1
-