libjson-c: update to 0.18
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 3 Oct 2024 20:08:39 +0000 (22:08 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 5 Oct 2024 10:29:20 +0000 (12:29 +0200)
Release Notes:
https://github.com/json-c/json-c/blob/json-c-0.18-20240915/ChangeLog

This restores ABI compatibility with version 0.16 used in OpenWrt 23.05.

Small size increase:
24263 bin/packages/mips_24kc-old/base/libjson-c5_0.17-r1_mips_24kc.ipk
24403 bin/packages/mips_24kc-new/base/libjson-c5_0.18-r1_mips_24kc.ipk

Link: https://github.com/openwrt/openwrt/pull/16591
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/libs/libjson-c/Makefile
package/libs/libjson-c/patches/001-dont-build-docs.patch

index 88781469dc9f546ba285cee2b45b722767d52cd9..9c32ca500f07027fa6ea0107bd85ab94847a0918 100644 (file)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=json-c
-PKG_VERSION:=0.17
+PKG_VERSION:=0.18
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-nodoc.tar.gz
 PKG_SOURCE_URL:=https://s3.amazonaws.com/json-c_releases/releases/
-PKG_HASH:=8df3b66597333dd365762cab2de2ff68e41e3808a04b692e696e0550648eefaa
+PKG_HASH:=602cdefc1d2aab8318fc0814b7ce7d59e72514d4276ca3eff92f35f86cf1c160
 
 PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
 PKG_LICENSE:=MIT
index 1de420f8b878bc55dbd22f3311a0423c34157136..68fbc17fd578efe1dd218ab74624d43fd12f5a8b 100644 (file)
@@ -1,6 +1,6 @@
 --- a/CMakeLists.txt
 +++ b/CMakeLists.txt
-@@ -451,8 +451,6 @@ configure_file(json.h.cmakein ${PROJECT_
+@@ -449,8 +449,6 @@ configure_file(json.h.cmakein ${PROJECT_
  include_directories(${PROJECT_SOURCE_DIR})
  include_directories(${PROJECT_BINARY_DIR})