Debian Patches

Status for rapidjson/1.1.0+dfsg2-7.2

Patch Description Author Forwarded Bugs Origin Last update
fix-privacy-breach.patch no
set-doc-dir.diff no
disable-valgrind_unittest.diff no
no-jsoncheckertest.diff remove the unittest using bin/jsonchecker/* as that one is removed from the tarball due to having this insane
'good not evil' "license
Rene Engelhard <rene@debian.org> no debian
gcc7.diff fix build with gcc7 From
https://github.com/miloyip/rapidjson/commit/fe19b7b6016d446722621fb407738209d1a911e8
and
https://github.com/miloyip/rapidjson/commit/cba45fe9de6923b858edb0780e257b7257aa4f7b
no debian
0001-Fix-Wclass-memaccess-warnings-errors.patch [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.
Philipp A Hartmann <pah@qo.cx> no 2018-07-15
0002-Fix-Wsign-conversion-warnings-errors.patch [PATCH 2/3] Fix -Wsign-conversion warnings/errors
GCC 8 (incorrectly) warns about sign conversions in (constant)
array size expressions:

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.
Philipp A Hartmann <pah@qo.cx> no 2018-07-15
0003-Suppress-Wformat-overflow-warning-error.patch [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.
Philipp A Hartmann <pah@qo.cx> no 2018-07-15
python3.diff =================================================================== no
0001-support-IBM-PowerPC-ppc64-ppc64le-and-XL-compiler.patch [PATCH] support IBM PowerPC / ppc64 / ppc64le and XL compiler
Avoid POWER platform compiling error and support IBM XL C++ compiler on
Linux / AIX.
Wu Zhao <wuzhaozju@gmail.com> no 2016-10-26
0001-CMake-do-not-pass-march-native-or-mcpu-native-when-c.patch [PATCH] CMake: do not pass -march=native or -mcpu=native when crosscompiling Rolf Eike Beer <eb@emlix.com> no 2017-11-24
deal-with-Werror-type-limits.patch no
gcc12_encdedstreamtest.patch [PATCH] encdedstreamtest: fix use-after-free compile error with gcc-12 Tom Briden <tom@decompile.me.uk> no 2022-05-15
gcc12_valuetest.patch [PATCH] valuetest: fix potential write of terminating nul past the end of the destination

Fixes 2 compile errors with gcc-12, eg:

tesunittest/valuetest.cpp:1516:30: error: 'sprintf' may write a terminating nul past the end of the destination [-Werror=format-overflow=]
test/unittest/valuetest.cpp:1516:20: note: 'sprintf' output between 2 and 11 bytes into a destination of size 10
Tom Briden <tom@decompile.me.uk> no 2022-05-15

All known versions for source package 'rapidjson'

Links