ports/devel/llvm-devel/files/patch-tools_clang_utils_scan-build
Brooks Davis 0ae799ff80 Update to a new snapshot.
Install a missing piece of scan-build. [1]

Submitted by:	Pawel Worach <pawel dot worach at gmail dot com> [1]
2009-02-25 20:49:35 +00:00

23 lines
601 B
Text

$FreeBSD$
--- tools/clang/utils/scan-build.orig
+++ tools/clang/utils/scan-build
@@ -406,7 +406,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);
@@ -410,7 +410,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);