summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/avro-cpp/files/patch-impl_json_JsonIO.hh11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/avro-cpp/files/patch-impl_json_JsonIO.hh b/devel/avro-cpp/files/patch-impl_json_JsonIO.hh
new file mode 100644
index 000000000000..ee3df3f4b6ae
--- /dev/null
+++ b/devel/avro-cpp/files/patch-impl_json_JsonIO.hh
@@ -0,0 +1,11 @@
+--- impl/json/JsonIO.hh.orig 2015-12-02 18:53:55 UTC
++++ impl/json/JsonIO.hh
+@@ -159,7 +159,7 @@ class AVRO_DECL JsonGenerator {
+
+ void escapeCtl(char c) {
+ out_.write('\\');
+- out_.write('U');
++ out_.write('u'); // https://issues.apache.org/jira/browse/AVRO-1191
+ out_.write('0');
+ out_.write('0');
+ out_.write(toHex((static_cast<unsigned char>(c)) / 16));