rapidjson: Fix data abort on ARM

The internal memory allocator that RapidJSON uses wasn't correctly
aligning memory in all cases, which resulted in data aborts when running
on ARM-based processors.

This was fixed upstream in 748a652f04cd3a202ce3639770238bd9473b300c

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Joshua Watt
2018-10-29 12:23:01 -05:00
committed by Armin Kuster
parent 8760facba1
commit 091808f08a
2 changed files with 101 additions and 0 deletions
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://license.txt;md5=ba04aa8f65de1396a7e59d1d746c2125"
SRC_URI = "git://github.com/miloyip/rapidjson.git;nobranch=1 \
file://remove-march-native-from-CMAKE_CXX_FLAGS.patch \
file://0001-Fix-SIGBUS-due-to-unaligned-access.patch \
"
SRCREV = "e5635fb27feab7f6e8d7b916aa20ad799045a641"