freebsd-ports/security/clambc/files/patch-clang_tools_CIndex_CIndexer.cpp
Ryan Steinmetz 52585fa661 New port: security/clambc:
The ClamAV bytecode compiler allows users to build their own bytecode
signatures for use with ClamAV.

WWW: https://www.clamav.net/
2014-12-01 19:35:34 +00:00

14 lines
454 B
C++

--- ../clang/tools/CIndex/CIndexer.cpp.orig
+++ ../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();