update to cjson-1.7.19

This commit is contained in:
sthen
2026-03-09 11:57:49 +00:00
parent a09a4bff17
commit 6a42b0c223
3 changed files with 3 additions and 18 deletions
+1 -2
View File
@@ -2,8 +2,7 @@ COMMENT = ultralightweight JSON parser in ANSI C
GH_ACCOUNT = DaveGamble
GH_PROJECT = cJSON
GH_TAGNAME = v1.7.18
REVISION = 0
GH_TAGNAME = v1.7.19
PKGNAME = ${DISTNAME:L}
+2 -2
View File
@@ -1,2 +1,2 @@
SHA256 (cJSON-1.7.18.tar.gz) = OqgGhEoDRCwAdpuD6ZlwvnD77wNzX/iY9IEd0DufXuU=
SIZE (cJSON-1.7.18.tar.gz) = 354726
SHA256 (cJSON-1.7.19.tar.gz) = f6YW4wRu36eiijLV+erP0j+SkA/h+MzZiMFmLzBFRWI=
SIZE (cJSON-1.7.19.tar.gz) = 356247
@@ -1,14 +0,0 @@
...so does otto malloc
Index: tests/misc_tests.c
--- tests/misc_tests.c.orig
+++ tests/misc_tests.c
@@ -736,7 +736,7 @@ static void deallocated_pointers_should_be_set_to_null
{
/* deallocated pointers should be set to null */
/* however, valgrind on linux reports when attempting to access a freed memory, we have to skip it */
-#ifndef ENABLE_VALGRIND
+#if !defined(ENABLE_VALGRIND) && !defined(__OpenBSD__)
cJSON *string = cJSON_CreateString("item");
cJSON *root = cJSON_CreateObject();