git: 25061c69b7cd - main - devel/json-c: Update to 0.17

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 21 Aug 2023 17:13:15 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=25061c69b7cd72970b1626acf342ab386966b07b

commit 25061c69b7cd72970b1626acf342ab386966b07b
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-08-21 17:02:49 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-08-21 17:02:49 +0000

    devel/json-c: Update to 0.17
    
    - Use USES=pathfix to fix .pc installation
    
    Changes:        https://github.com/json-c/json-c/blob/master/ChangeLog
---
 devel/json-c/Makefile  | 8 ++++----
 devel/json-c/distinfo  | 6 +++---
 devel/json-c/pkg-plist | 3 ++-
 3 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/devel/json-c/Makefile b/devel/json-c/Makefile
index ff41a5d2c33e..b6c90f2e3f4e 100644
--- a/devel/json-c/Makefile
+++ b/devel/json-c/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	json-c
-PORTVERSION=	0.16
+PORTVERSION=	0.17
 CATEGORIES=	devel
 MASTER_SITES=	https://s3.amazonaws.com/json-c_releases/releases/ \
 		LOCAL/sunpoet
@@ -11,10 +11,10 @@ WWW=		https://github.com/json-c/json-c/wiki
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		cmake compiler:c11 cpe
+USES=		cmake compiler:c11 cpe pathfix
 
-CMAKE_OFF=	DISABLE_BSYMBOLIC DISABLE_JSON_POINTER DISABLE_THREAD_LOCAL_STORAGE ENABLE_RDRAND ENABLE_THREADING OVERRIDE_GET_RANDOM_SEED
-CMAKE_ON=	BUILD_SHARED_LIBS BUILD_STATIC_LIBS DISABLE_EXTRA_LIBS DISABLE_WERROR
+CMAKE_OFF=	DISABLE_BSYMBOLIC DISABLE_JSON_PATCH DISABLE_JSON_POINTER DISABLE_THREAD_LOCAL_STORAGE ENABLE_RDRAND ENABLE_THREADING NEWLOCALE_NEEDS_FREELOCALE OVERRIDE_GET_RANDOM_SEED
+CMAKE_ON=	BUILD_SHARED_LIBS BUILD_STATIC_LIBS DISABLE_EXTRA_LIBS DISABLE_WERROR NEWLOCALE_NEEDS_FREELOCALE
 TEST_TARGET=	test
 USE_LDCONFIG=	yes
 
diff --git a/devel/json-c/distinfo b/devel/json-c/distinfo
index 36f7466ac483..5d87d187799f 100644
--- a/devel/json-c/distinfo
+++ b/devel/json-c/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1650228674
-SHA256 (json-c-0.16.tar.gz) = 8e45ac8f96ec7791eaf3bb7ee50e9c2100bbbc87b8d0f1d030c5ba8a0288d96b
-SIZE (json-c-0.16.tar.gz) = 351916
+TIMESTAMP = 1692211641
+SHA256 (json-c-0.17.tar.gz) = 7550914d58fb63b2c3546f3ccfbe11f1c094147bd31a69dcd23714d7956159e6
+SIZE (json-c-0.17.tar.gz) = 390045
diff --git a/devel/json-c/pkg-plist b/devel/json-c/pkg-plist
index ce69d8eeee65..ff3f8390e8c1 100644
--- a/devel/json-c/pkg-plist
+++ b/devel/json-c/pkg-plist
@@ -7,6 +7,7 @@ include/json-c/json_inttypes.h
 include/json-c/json_object.h
 include/json-c/json_object_iterator.h
 include/json-c/json_object_private.h
+include/json-c/json_patch.h
 include/json-c/json_pointer.h
 include/json-c/json_tokener.h
 include/json-c/json_types.h
@@ -20,5 +21,5 @@ lib/cmake/json-c/json-c-targets.cmake
 lib/libjson-c.a
 lib/libjson-c.so
 lib/libjson-c.so.5
-lib/libjson-c.so.5.2.0
+lib/libjson-c.so.5.3.0
 libdata/pkgconfig/json-c.pc