opnsense-ports/security/clambc/files/patch-clang_tools_CIndex_CIndexer.cpp
Franco Fichtner 37baa0b2c7 */*: sync with upstream
Taken from: FreeBSD
2016-04-15 01:59:23 +02:00

14 lines
472 B
C++

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