Package: rapidjson / 1.1.0+dfsg2-7

Metadata

Package Version Patches format
rapidjson 1.1.0+dfsg2-7 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
fix privacy breach.patch | (download)

readme.md | 14 0 + 14 - 0 !
readme.zh-cn.md | 16 1 + 15 - 0 !
2 files changed, 1 insertion(+), 29 deletions(-)

---
set doc dir.diff | (download)

CMakeLists.txt | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
disable valgrind_unittest.diff | (download)

test/unittest/CMakeLists.txt | 8 4 + 4 - 0 !
1 file changed, 4 insertions(+), 4 deletions(-)

---
no jsoncheckertest.diff | (download)

test/unittest/CMakeLists.txt | 1 0 + 1 - 0 !
test/unittest/jsoncheckertest.cpp | 99 0 + 99 - 0 !
2 files changed, 100 deletions(-)

 remove the unittest using bin/jsonchecker/*
 as that one is removed from the tarball due to having this insane
 'good not evil' "license
gcc7.diff | (download)

include/rapidjson/internal/regex.h | 3 3 + 0 - 0 !
1 file changed, 3 insertions(+)

 fix build with gcc7
 From
 https://github.com/miloyip/rapidjson/commit/fe19b7b6016d446722621fb407738209d1a911e8 
and
 https://github.com/miloyip/rapidjson/commit/cba45fe9de6923b858edb0780e257b7257aa4f7b
Bug-Debian: https://bugs.debian.org/846568


0001 Fix Wclass memaccess warnings errors.patch | (download)

include/rapidjson/document.h | 10 5 + 5 - 0 !
1 file changed, 5 insertions(+), 5 deletions(-)

 [patch 1/3] fix -wclass-memaccess warnings/errors

Recent GCC versions warn about using memcpy/memmove to
write to a class pointer (-Wclass-memaccess).

Avoid the warnings by casting to void* first.

Closes #1086.
Closes #1205.
Closes #1246.

0002 Fix Wsign conversion warnings errors.patch | (download)

include/rapidjson/schema.h | 2 1 + 1 - 0 !
test/unittest/schematest.cpp | 2 1 + 1 - 0 !
test/unittest/simdtest.cpp | 4 2 + 2 - 0 !
3 files changed, 4 insertions(+), 4 deletions(-)

 [patch 2/3] fix -wsign-conversion warnings/errors

GCC 8 (incorrectly) warns about sign conversions in (constant)
array size expressions:

error: conversion to 'long unsigned int' from 'int' may
change the sign of the result [-Werror=sign-conversion]
     char schemaBuffer_[128 * 1024];

Make these expressions unsigned by adding a 'u' suffix to
the first operands.

0003 Suppress Wformat overflow warning error.patch | (download)

test/perftest/schematest.cpp | 7 7 + 0 - 0 !
1 file changed, 7 insertions(+)

 [patch 3/3] suppress -wformat-overflow warning/error

GCC 7 and later warn about overflow/truncation when using
sprintf and related functions with fixed-size buffers.

Suppress the warning in schematest.cpp.

python3.diff | (download)

bin/jsonschema/bin/jsonschema_suite | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
0001 support IBM PowerPC ppc64 ppc64le and XL compiler.patch | (download)

CMakeLists.txt | 18 16 + 2 - 0 !
1 file changed, 16 insertions(+), 2 deletions(-)

 [patch] support ibm powerpc / ppc64 / ppc64le and xl compiler

Avoid POWER platform compiling error and support IBM XL C++ compiler on
Linux / AIX.

0001 CMake do not pass march native or mcpu native when c.patch | (download)

CMakeLists.txt | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

 [patch] cmake: do not pass -march=native or -mcpu=native when
 crosscompiling


deal with Werror type limits.patch | (download)

example/CMakeLists.txt | 4 4 + 0 - 0 !
test/CMakeLists.txt | 4 4 + 0 - 0 !
2 files changed, 8 insertions(+)

---