aboutsummaryrefslogtreecommitdiffstats
path: root/community/kdevelop/fix-find-clang-path.patch
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-04-15 09:22:40 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-04-19 07:32:41 +0000
commit04044e3bb956b18409673755a93dd4b07f74f0dc (patch)
tree8f100791df2ca2742462c7bdd69cb2a47f621d2d /community/kdevelop/fix-find-clang-path.patch
parentf2254f96935ef48dbe3863f34cd82444fcc00f96 (diff)
downloadaports-04044e3bb956b18409673755a93dd4b07f74f0dc.tar.bz2
aports-04044e3bb956b18409673755a93dd4b07f74f0dc.tar.xz
community/kdevelop: move from testing
Diffstat (limited to 'community/kdevelop/fix-find-clang-path.patch')
-rw-r--r--community/kdevelop/fix-find-clang-path.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/community/kdevelop/fix-find-clang-path.patch b/community/kdevelop/fix-find-clang-path.patch
new file mode 100644
index 0000000000..5f64b648c7
--- /dev/null
+++ b/community/kdevelop/fix-find-clang-path.patch
@@ -0,0 +1,16 @@
+diff --git a/cmake/modules/FindClang.cmake b/cmake/modules/FindClang.cmake
+index 34a8c38198..9ebb9c4a58 100644
+--- a/cmake/modules/FindClang.cmake
++++ b/cmake/modules/FindClang.cmake
+@@ -106,9 +106,9 @@ if(CLANG_FOUND)
+ PATHS "${CLANG_LIBRARY_DIRS}"
+ "${CLANG_INCLUDE_DIRS}"
+ PATH_SUFFIXES "clang/${CLANG_VERSION}/include"
+- "../../../clang/${CLANG_VERSION}/include"
++ "../../clang/${CLANG_VERSION}/include"
+ "clang/${CLANG_VERSION_CLEAN}/include"
+- "../../../clang/${CLANG_VERSION_CLEAN}/include"
++ "../../clang/${CLANG_VERSION_CLEAN}/include"
+ NO_DEFAULT_PATH
+ )
+