aboutsummaryrefslogtreecommitdiffstats
path: root/lang/clang33/files
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2014-06-17 23:55:27 +0800
committerbrooks <brooks@FreeBSD.org>2014-06-17 23:55:27 +0800
commit8cf837067c5532315ceb7fca84c900ecdb960d2a (patch)
tree16e1e24c1b1105c70e4322bc0bf06398c25543e0 /lang/clang33/files
parentc14b51a3333d12ca423e25ab0b2b234b2fddf078 (diff)
downloadfreebsd-ports-gnome-8cf837067c5532315ceb7fca84c900ecdb960d2a.tar.gz
freebsd-ports-gnome-8cf837067c5532315ceb7fca84c900ecdb960d2a.tar.zst
freebsd-ports-gnome-8cf837067c5532315ceb7fca84c900ecdb960d2a.zip
Add back support for scan-build.[1]
Change ccc-analyzer's default compiler to clang.[2] Install unwind.h.[3] PR: ports/185733 [1], ports/183802 [2], ports/186173 [3]
Diffstat (limited to 'lang/clang33/files')
-rw-r--r--lang/clang33/files/patch-tools_clang_lib_Headers_Makefile2
-rw-r--r--lang/clang33/files/patch-tools_clang_tools_scan-build_ccc-analyzer14
2 files changed, 15 insertions, 1 deletions
diff --git a/lang/clang33/files/patch-tools_clang_lib_Headers_Makefile b/lang/clang33/files/patch-tools_clang_lib_Headers_Makefile
index 9142dcd9b162..0c0b3783043d 100644
--- a/lang/clang33/files/patch-tools_clang_lib_Headers_Makefile
+++ b/lang/clang33/files/patch-tools_clang_lib_Headers_Makefile
@@ -8,7 +8,7 @@ $FreeBSD$
HeaderDir := $(PROJ_OBJ_ROOT)/$(BuildMode)/lib/clang/$(CLANG_VERSION)/include
-HEADERS := $(notdir $(wildcard $(PROJ_SRC_DIR)/*.h))
-+HEADERS := $(notdir $(wildcard $(PROJ_SRC_DIR)/*intrin*.h) altivec.h cpuid.h mm3dnow.h mm_malloc.h)
++HEADERS := $(notdir $(wildcard $(PROJ_SRC_DIR)/*intrin*.h) altivec.h cpuid.h mm3dnow.h mm_malloc.h unwind.h)
OBJHEADERS := $(addprefix $(HeaderDir)/, $(HEADERS))
diff --git a/lang/clang33/files/patch-tools_clang_tools_scan-build_ccc-analyzer b/lang/clang33/files/patch-tools_clang_tools_scan-build_ccc-analyzer
new file mode 100644
index 000000000000..8686918c2d58
--- /dev/null
+++ b/lang/clang33/files/patch-tools_clang_tools_scan-build_ccc-analyzer
@@ -0,0 +1,14 @@
+
+$FreeBSD: head/lang/clang34/files/patch-tools_clang_tools_scan-build_ccc-analyzer 341489 2014-01-28 00:04:46Z brooks $
+
+--- tools/clang/tools/scan-build/ccc-analyzer.orig
++++ tools/clang/tools/scan-build/ccc-analyzer
+@@ -30,7 +30,7 @@
+ my $DefaultCCompiler;
+ my $DefaultCXXCompiler;
+
+-if (`uname -a` =~ m/Darwin/) {
++if (`uname -a` =~ m/(Darwin|FreeBSD)/) {
+ $DefaultCCompiler = 'clang';
+ $DefaultCXXCompiler = 'clang++';
+ } else {