openbsd-ports/devel/llvm/patches/patch-tools_clang_utils_scan-build

22 lines
778 B
Plaintext
Raw Normal View History

2009-06-21 19:13:48 -04:00
$OpenBSD: patch-tools_clang_utils_scan-build,v 1.3 2009/06/21 23:13:48 sthen Exp $
--- tools/clang/utils/scan-build.orig Fri May 15 22:14:16 2009
+++ tools/clang/utils/scan-build Sun Jun 21 22:55:38 2009
@@ -429,7 +429,7 @@ sub CopyFiles {
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-06-21 19:13:48 -04:00
@@ -439,7 +439,7 @@ sub CopyFiles {
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);