head	1.1;
access;
symbols;
locks; strict;
comment	@# @;


1.1
date	2013.01.10.17.27.38;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.1
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/310187
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r310187 | brooks | 2013-01-10 16:19:44 +0000 (Thu, 10 Jan 2013) | 3 lines
## SVN ##
## SVN ## In preparation for updating llvm and clang to 3.2, create temporary
## SVN ## ports of 3.1 so ports that don't yet work with 3.2 continue to work.
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@
$FreeBSD: head/lang/clang31/files/patch-tools_clang_tools_scan-build_scan-build 303039 2012-08-23 21:02:09Z jkim $

--- tools/clang/tools/scan-build/scan-build.orig
+++ tools/clang/tools/scan-build/scan-build
@@@@ -423,7 +423,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);  
@@@@ -433,7 +433,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);
@
