json-c: Update to version 0.17-20230812

Message ID 20231212180044.102098-1-adolf.belka@ipfire.org
State Accepted
Commit c7cd601dacbf126856295e966fffc2b8520a46b7
Headers
Series json-c: Update to version 0.17-20230812 |

Commit Message

Adolf Belka Dec. 12, 2023, 6 p.m. UTC
  - IPFire-3.x
- Update from version 0.16-20220414 to 0.17020230812
- Changelog
    0.17 (up to commit 077661f, 2023-08-08)
	New features
		* json_patch: add first implementation only with patch application
		* Add --disable-static and --disable-dynamic options to the cmake-configure
		  script.
		* Add -DBUILD_APPS=NO option to disable app build
		* Minimum cmake version is now 3.9
	Significant changes and bug fixes
		* When serializing with JSON_C_TO_STRING_PRETTY set, keep the opening and
		  closing curly or square braces on same line for empty objects or arrays.
		* Disable locale handling when targeting a uClibc system due to problems
		  with its duplocale() function.
		* When parsing with JSON_TOKENER_STRICT set, integer overflow/underflow
		  now result in a json_tokener_error_parse_number.  Without that flag
		  values are capped at INT64_MIN/UINT64_MAX.
		* Fix memory leak with emtpy strings in json_object_set_string
		* json_object_from_fd_ex: fail if file is too large (>=INT_MAX bytes)
		* Add back json_number_chars, but only because it's part of the public API.
		* Entirely drop mode bits from open(O_RDONLY) to avoid warnings on certain
		  platforms.
		* Specify dependent libraries, including -lbsd, in a more consistent way so
		  linking against a static json-c works better
		* Fix a variety of build problems and add & improve tests
		* Update RFC reference to https://www.rfc-editor.org/rfc/rfc8259

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 json-c/json-c.nm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
  

Patch

diff --git a/json-c/json-c.nm b/json-c/json-c.nm
index fcca69087..e61f3d875 100644
--- a/json-c/json-c.nm
+++ b/json-c/json-c.nm
@@ -4,8 +4,8 @@ 
 ###############################################################################
 
 name       = json-c
-version    = 0.16
-reldate    = 20220414
+version    = 0.17
+reldate    = 20230812
 release    = 1
 thisapp    = %{name}-%{version}-%{reldate}
 
@@ -21,7 +21,7 @@  description
 	objects.
 end
 
-source_dl  = https://github.com/json-c/json-c/archive/
+source_dl  = https://github.com/json-c/json-c/archive/refs/tags/
 
 build
 	requires