From 1d86e4459f0dc624fdd6db74dbafe02bc00bdfcca1d67a79a182027deb2333a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Mon, 2 Mar 2015 12:36:56 +0000 Subject: [PATCH] Nice bug OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=408 --- clang-resourcedirs.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang-resourcedirs.patch b/clang-resourcedirs.patch index 1d3ac5a..1de38b0 100644 --- a/clang-resourcedirs.patch +++ b/clang-resourcedirs.patch @@ -7,7 +7,7 @@ Index: cfe-3.6.0.src/lib/Driver/Driver.cpp // Compute the path to the resource directory. StringRef ClangResourceDir(CLANG_RESOURCE_DIR); - SmallString<128> P(Dir); -+ SmallString<128> P((Dir != "") ? Dir : "/opt/clang/bin/"); ++ SmallString<128> P((Dir != "") ? Dir : "/usr/bin/"); if (ClangResourceDir != "") { llvm::sys::path::append(P, ClangResourceDir); } else {