Changeset View
Changeset View
Standalone View
Standalone View
head/security/clambc/files/patch-clang_tools_CIndex_CIndexer.cpp
--- ../clang/tools/CIndex/CIndexer.cpp.orig | --- clang/tools/CIndex/CIndexer.cpp.orig 2014-11-10 18:04:47 UTC | ||||
+++ ../clang/tools/CIndex/CIndexer.cpp | +++ clang/tools/CIndex/CIndexer.cpp | ||||
@@ -87,9 +87,8 @@ std::string CIndexer::getClangResourcesPath() { | @@ -87,9 +87,8 @@ std::string CIndexer::getClangResourcesPath() { | ||||
P.eraseComponent(); // Remove /bin from foo/bin | P.eraseComponent(); // Remove /bin from foo/bin | ||||
// Get foo/lib/clang/<version>/include | // Get foo/lib/clang/<version>/include | ||||
- P.appendComponent("lib"); | - P.appendComponent("lib"); | ||||
- P.appendComponent("clang"); | - P.appendComponent("clang"); | ||||
- P.appendComponent(CLANG_VERSION_STRING); | - P.appendComponent(CLANG_VERSION_STRING); | ||||
+ P.appendComponent("local"); | + P.appendComponent("local"); | ||||
+ P.appendComponent("clambc"); | + P.appendComponent("clambc"); | ||||
} | } | ||||
return P.str(); | return P.str(); |