svn commit: r403207 - branches/2015Q4/devel/avro-cpp/files

Pietro Cerutti gahr at FreeBSD.org
Mon Dec 7 14:13:07 UTC 2015


Author: gahr
Date: Mon Dec  7 14:13:06 2015
New Revision: 403207
URL: https://svnweb.freebsd.org/changeset/ports/403207

Log:
  MFH: r403189
  
  devel/avro-cpp - fix escaping of unicode characters
  
  PR:		204991
  Submitted by:	gahr
  Approved by:	maintainer
  Approved by:	portmgr
  Obtained from:	https://issues.apache.org/jira/browse/AVRO-1191

Added:
  branches/2015Q4/devel/avro-cpp/files/patch-impl_json_JsonIO.hh
     - copied unchanged from r403189, head/devel/avro-cpp/files/patch-impl_json_JsonIO.hh
Modified:
Directory Properties:
  branches/2015Q4/   (props changed)

Copied: branches/2015Q4/devel/avro-cpp/files/patch-impl_json_JsonIO.hh (from r403189, head/devel/avro-cpp/files/patch-impl_json_JsonIO.hh)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2015Q4/devel/avro-cpp/files/patch-impl_json_JsonIO.hh	Mon Dec  7 14:13:06 2015	(r403207, copy of r403189, head/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));


More information about the svn-ports-all mailing list