aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2014-08-15 23:42:35 +0800
committerbrooks <brooks@FreeBSD.org>2014-08-15 23:42:35 +0800
commitc3c0c1dad929facc96e2736bd3b1c313687701cb (patch)
treef4c3c954005507ed5e771e2d7f4c308e21812819 /lang
parentae53f7d010c6a8dccd963cd229ff77f7a19d7de9 (diff)
downloadfreebsd-ports-gnome-c3c0c1dad929facc96e2736bd3b1c313687701cb.tar.gz
freebsd-ports-gnome-c3c0c1dad929facc96e2736bd3b1c313687701cb.tar.zst
freebsd-ports-gnome-c3c0c1dad929facc96e2736bd3b1c313687701cb.zip
Add patch missed in r364981.
No version bump as clang won't compile without this change.
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!");