6172d4b590
With hat: portmgr Sponsored by: Absolight
29 lines
920 B
Text
29 lines
920 B
Text
--- tools/clang/tools/scan-build/scan-build.orig
|
|
+++ tools/clang/tools/scan-build/scan-build
|
|
@@ -437,7 +437,7 @@
|
|
|
|
my $Dir = shift;
|
|
|
|
- my $JS = Cwd::realpath("$RealBin/sorttable.js");
|
|
+ my $JS = Cwd::realpath("%%DATADIR%%/sorttable.js");
|
|
|
|
DieDiag("Cannot find 'sorttable.js'.\n")
|
|
if (! -r $JS);
|
|
@@ -447,7 +447,7 @@
|
|
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("%%DATADIR%%/scanview.css");
|
|
|
|
DieDiag("Cannot find 'scanview.css'.\n")
|
|
if (! -r $CSS);
|
|
@@ -882,7 +882,7 @@
|
|
Diag("$Num bugs found.\n");
|
|
}
|
|
if ($Num > 0 && -r "$Dir/index.html") {
|
|
- Diag("Run 'scan-view $Dir' to examine bug reports.\n");
|
|
+ Diag("Run 'scan-view%%LLVM_SUFFIX%% $Dir' to examine bug reports.\n");
|
|
}
|
|
|
|
DiagCrashes($Dir) if (scalar @failures || scalar @attributes_ignored);
|