aboutsummaryrefslogtreecommitdiffstats
path: root/devel/llvm-devel
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2009-02-19 22:56:48 +0800
committerbrooks <brooks@FreeBSD.org>2009-02-19 22:56:48 +0800
commit98aa730c323ed9eb40b64379f5cc443ccb8db835 (patch)
tree0762a6a323f5c3d13c0213743e9b1bec36b41911 /devel/llvm-devel
parentad0859fd9bdcfdb10dfbfc2643381de19b7abb0f (diff)
downloadfreebsd-ports-gnome-98aa730c323ed9eb40b64379f5cc443ccb8db835.tar.gz
freebsd-ports-gnome-98aa730c323ed9eb40b64379f5cc443ccb8db835.tar.zst
freebsd-ports-gnome-98aa730c323ed9eb40b64379f5cc443ccb8db835.zip
Support %b in printf-like functions as required to compile the FreeBSD
kernel. Submitted by: rdivacky
Diffstat (limited to 'devel/llvm-devel')
-rw-r--r--devel/llvm-devel/Makefile1
-rw-r--r--devel/llvm-devel/files/patch-tools_clang_lib_Sema_SemaChecking.cpp13
2 files changed, 14 insertions, 0 deletions
diff --git a/devel/llvm-devel/Makefile b/devel/llvm-devel/Makefile
index 44916db3d9db..50637fa5fc41 100644
--- a/devel/llvm-devel/Makefile
+++ b/devel/llvm-devel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= llvm
DISTVERSION= 2.4.snap${SNAPDATE}
+PORTREVISION= 1
CATEGORIES= devel lang
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= brooks
diff --git a/devel/llvm-devel/files/patch-tools_clang_lib_Sema_SemaChecking.cpp b/devel/llvm-devel/files/patch-tools_clang_lib_Sema_SemaChecking.cpp
new file mode 100644
index 000000000000..3a43558971dc
--- /dev/null
+++ b/devel/llvm-devel/files/patch-tools_clang_lib_Sema_SemaChecking.cpp
@@ -0,0 +1,13 @@
+
+$FreeBSD$
+
+--- tools/clang/lib/Sema/SemaChecking.cpp.orig
++++ tools/clang/lib/Sema/SemaChecking.cpp
+@@ -643,6 +643,7 @@
+ case 'G':
+ case 'a':
+ case 'A':
++ case 'b':
+ case 'c':
+ case 'C':
+ case 'S':