aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2014-08-15 15:42:35 +0000
committerBrooks Davis <brooks@FreeBSD.org>2014-08-15 15:42:35 +0000
commit0eee75617e076b3f13357e9de61895c97c1608c1 (patch)
treef4c3c954005507ed5e771e2d7f4c308e21812819 /lang
parenteda9b0a29d553be7c339528f426a17789a66b870 (diff)
downloadports-0eee75617e076b3f13357e9de61895c97c1608c1.tar.gz
ports-0eee75617e076b3f13357e9de61895c97c1608c1.zip
Notes
Diffstat (limited to 'lang')
-rw-r--r--lang/clang-devel/files/patch-tools_clang_lib_Analysis_FormatString.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/lang/clang-devel/files/patch-tools_clang_lib_Analysis_FormatString.cpp b/lang/clang-devel/files/patch-tools_clang_lib_Analysis_FormatString.cpp
new file mode 100644
index 000000000000..141cb0f4c2b3
--- /dev/null
+++ b/lang/clang-devel/files/patch-tools_clang_lib_Analysis_FormatString.cpp
@@ -0,0 +1,23 @@
+
+$FreeBSD$
+
+--- tools/clang/lib/Analysis/FormatString.cpp.orig
++++ tools/clang/lib/Analysis/FormatString.cpp
+@@ -550,6 +550,9 @@
+
+ // GlibC specific specifiers.
+ case PrintErrno: return "m";
++
++ // FreeBSD specfic specifiers.
++ case bArg: return "b";
+ }
+ return nullptr;
+ }
+@@ -778,6 +781,7 @@
+ case ConversionSpecifier::DArg:
+ case ConversionSpecifier::OArg:
+ case ConversionSpecifier::UArg:
++ case ConversionSpecifier::bArg:
+ return false;
+ }
+ llvm_unreachable("Invalid ConversionSpecifier Kind!");