2009-02-08 17:55:43 -05:00
|
|
|
$OpenBSD: patch-tools_clang_utils_scan-build,v 1.2 2009/02/08 22:55:43 sthen Exp $
|
|
|
|
--- tools/clang/utils/scan-build.orig Thu Feb 5 13:22:38 2009
|
|
|
|
+++ tools/clang/utils/scan-build Thu Feb 5 16:07:01 2009
|
|
|
|
@@ -402,7 +402,7 @@ sub CopyFiles {
|
2008-11-10 06:25:33 -05:00
|
|
|
|
|
|
|
my $Dir = shift;
|
|
|
|
|
|
|
|
- my $JS = Cwd::realpath("$RealBin/sorttable.js");
|
|
|
|
+ my $JS = Cwd::realpath("${LOCALBASE}/share/llvm/sorttable.js");
|
|
|
|
|
|
|
|
DieDiag("Cannot find 'sorttable.js'.\n")
|
|
|
|
if (! -r $JS);
|
2009-02-08 17:55:43 -05:00
|
|
|
@@ -412,7 +412,7 @@ sub CopyFiles {
|
2008-11-10 06:25:33 -05:00
|
|
|
DieDiag("Could not copy 'sorttable.js' to '$Dir'.\n")
|
|
|
|
if (! -r "$Dir/sorttable.js");
|
|
|
|
|
|
|
|
- my $CSS = Cwd::realpath("$RealBin/scanview.css");
|
|
|
|
+ my $CSS = Cwd::realpath("${LOCALBASE}/share/llvm/scanview.css");
|
|
|
|
|
|
|
|
DieDiag("Cannot find 'scanview.css'.\n")
|
|
|
|
if (! -r $CSS);
|