rapidjson: apply upstream patch needed for octave
This commit is contained in:
parent
acc4dc46d8
commit
0464bd6240
|
@ -0,0 +1,13 @@
|
|||
See: https://github.com/Tencent/rapidjson/pull/909
|
||||
|
||||
--- a/include/rapidjson/prettywriter.h
|
||||
+++ b/include/rapidjson/prettywriter.h
|
||||
@@ -47,7 +47,7 @@ enum PrettyFormatOptions {
|
||||
template<typename OutputStream, typename SourceEncoding = UTF8<>, typename TargetEncoding = UTF8<>, typename StackAllocator = CrtAllocator, unsigned writeFlags = kWriteDefaultFlags>
|
||||
class PrettyWriter : public Writer<OutputStream, SourceEncoding, TargetEncoding, StackAllocator, writeFlags> {
|
||||
public:
|
||||
- typedef Writer<OutputStream, SourceEncoding, TargetEncoding, StackAllocator> Base;
|
||||
+ typedef Writer<OutputStream, SourceEncoding, TargetEncoding, StackAllocator, writeFlags> Base;
|
||||
typedef typename Base::Ch Ch;
|
||||
|
||||
//! Constructor
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'rapidjson'
|
||||
pkgname=rapidjson
|
||||
version=1.1.0
|
||||
revision=4
|
||||
revision=5
|
||||
build_style=cmake
|
||||
short_desc="Fast JSON parser/generator for C++ with both SAX/DOM style API"
|
||||
maintainer="Alexander Egorenkov <egorenar-dev@posteo.net>"
|
||||
|
|
Loading…
Reference in New Issue