diff options
author | brooks <brooks@FreeBSD.org> | 2014-08-15 23:42:35 +0800 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2014-08-15 23:42:35 +0800 |
commit | c3c0c1dad929facc96e2736bd3b1c313687701cb (patch) | |
tree | f4c3c954005507ed5e771e2d7f4c308e21812819 /lang | |
parent | ae53f7d010c6a8dccd963cd229ff77f7a19d7de9 (diff) | |
download | freebsd-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.cpp | 23 |
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!"); |