openbsd-ports/devel/llvm/patches/patch-tools_clang_tools_scan-build_scan-build
brad cc75b05c01 Update to LLVM 3.2 and switces to __guard_local for stack protector support.
Initial work from landry@ with some fixes and further tweaking from pascal@ and brad@

ok sthen@ landry@
2012-12-23 20:49:29 +00:00

22 lines
810 B
Plaintext

$OpenBSD: patch-tools_clang_tools_scan-build_scan-build,v 1.4 2012/12/23 20:49:29 brad Exp $
--- tools/clang/tools/scan-build/scan-build.orig Wed Sep 5 21:53:47 2012
+++ tools/clang/tools/scan-build/scan-build Wed Sep 5 22:05:51 2012
@@ -403,7 +403,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);
@@ -413,7 +413,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);