Skip to contentSkip to conversation

package/json-c: bump to version 0.18

PATCH In review Akhilesh Nema 2 participants 2 messages Jan 6, 2025 – Jan 7, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/json-c: bump to version 0.18

Changelog - https://github.com/json-c/json-c/compare/json-c-0.17-20230812...json-c-0.18-20240915

Drop 0001-json_pointer.c-initialize-idx.patch.
Upstream commit - https://github.com/json-c/json-c/commit/7ff7eab603611c65b3110dcb1b0caf5cc68b07a3

---
 .../0001-json_pointer.c-initialize-idx.patch  | 37 -------------------
 package/json-c/json-c.hash                    |  2 +-
 package/json-c/json-c.mk                      |  2 +-
 3 files changed, 2 insertions(+), 39 deletions(-)
 delete mode 100644 package/json-c/0001-json_pointer.c-initialize-idx.patch
package/json-c/0001-json_pointer.c-initialize-idx.patch deleted +0 -37
deleted file mode 100644
index 3dbe0b4067..0000000000
@@ -1,37 +0,0 @@
-From 7ff7eab603611c65b3110dcb1b0caf5cc68b07a3 Mon Sep 17 00:00:00 2001
-From: Fabrice Fontaine <[email protected]>
-Date: Wed, 8 Nov 2023 22:42:48 +0100
-Subject: [PATCH] json_pointer.c: initialize idx
-
-Fix the following build failure with gcc 5:
-
-/home/thomas/autobuild/instance-2/output-1/build/json-c-0.17/json_pointer.c: In function 'json_pointer_result_get_recursive':
-/home/thomas/autobuild/instance-2/output-1/build/json-c-0.17/json_pointer.c:193:25: error: 'idx' may be used uninitialized in this function [-Werror=maybe-uninitialized]
-    res->index_in_parent = idx;
-                         ^
-
-Fixes:
- - http://autobuild.buildroot.org/results/523b35a979d59121fe4e18c38171792b06233940/
-
-Signed-off-by: Fabrice Fontaine <[email protected]>
-Upstream: https://github.com/json-c/json-c/pull/839
----
- json_pointer.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/json_pointer.c b/json_pointer.c
-index 89e9e21..0ac8aaa 100644
---- a/json_pointer.c
-+++ b/json_pointer.c
-@@ -158,7 +158,7 @@ static int json_pointer_result_get_recursive(struct json_object *obj, char *path
-                                              struct json_pointer_get_result *res)
- {
- 	struct json_object *parent_obj = obj;
--	size_t idx;
-+	size_t idx = 0;
- 	char *endp;
- 	int rc;
- 
--- 
-2.42.0
-
package/json-c/json-c.hash +1 -1
index c9bb8c708b..88bb49cb9d 100644
@@ -1,4 +1,4 @@
 # From https://github.com/json-c/json-c/wiki
-sha256  7550914d58fb63b2c3546f3ccfbe11f1c094147bd31a69dcd23714d7956159e6  json-c-0.17.tar.gz
+sha256  876ab046479166b869afc6896d288183bbc0e5843f141200c677b3e8dfb11724  json-c-0.18.tar.gz
 # Locally calculated
 sha256  74c1e6ca5eba76b54d0ad00d4815c8315c1b3bc45ff99de61d103dc92486284c  COPYING
package/json-c/json-c.mk +1 -1
index 68401433b4..254b6fd838 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-JSON_C_VERSION = 0.17
+JSON_C_VERSION = 0.18
 JSON_C_SITE = https://s3.amazonaws.com/json-c_releases/releases
 JSON_C_INSTALL_STAGING = YES
 JSON_C_LICENSE = MIT
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 6 lines · Akhilesh Nema

Changelog - https://github.com/json-c/json-c/compare/json-c-0.17-20230812...json-c-0.18-20240915

Drop 0001-json_pointer.c-initialize-idx.patch.
Upstream commit - https://github.com/json-c/json-c/commit/7ff7eab603611c65b3110dcb1b0caf5cc68b07a3

Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot