mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
rapidjson: apply upstream patch needed for octave
This commit is contained in:
parent
acc4dc46d8
commit
0464bd6240
2 changed files with 14 additions and 1 deletions
|
@ -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'
|
# Template file for 'rapidjson'
|
||||||
pkgname=rapidjson
|
pkgname=rapidjson
|
||||||
version=1.1.0
|
version=1.1.0
|
||||||
revision=4
|
revision=5
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
short_desc="Fast JSON parser/generator for C++ with both SAX/DOM style API"
|
short_desc="Fast JSON parser/generator for C++ with both SAX/DOM style API"
|
||||||
maintainer="Alexander Egorenkov <egorenar-dev@posteo.net>"
|
maintainer="Alexander Egorenkov <egorenar-dev@posteo.net>"
|
||||||
|
|
Loading…
Add table
Reference in a new issue