Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Sep 2024 04:25:32 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 02ce84fd712e - main - devel/json-c: Update to 0.18
Message-ID:  <202409250425.48P4PWUW033791@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=02ce84fd712e5d8e8ce21b97b3d60b377c23ea2a

commit 02ce84fd712e5d8e8ce21b97b3d60b377c23ea2a
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-25 04:13:17 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-25 04:22:26 +0000

    devel/json-c: Update to 0.18
    
    Changes:        https://github.com/json-c/json-c/blob/master/ChangeLog
---
 devel/json-c/Makefile  | 20 ++++++++++++++------
 devel/json-c/distinfo  |  6 +++---
 devel/json-c/pkg-plist |  3 +--
 3 files changed, 18 insertions(+), 11 deletions(-)

diff --git a/devel/json-c/Makefile b/devel/json-c/Makefile
index b6c90f2e3f4e..18c3c927f2a5 100644
--- a/devel/json-c/Makefile
+++ b/devel/json-c/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	json-c
-PORTVERSION=	0.17
+PORTVERSION=	0.18
 CATEGORIES=	devel
 MASTER_SITES=	https://s3.amazonaws.com/json-c_releases/releases/ \
 		LOCAL/sunpoet
@@ -13,14 +13,22 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		cmake compiler:c11 cpe pathfix
 
-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
+CMAKE_OFF=	DISABLE_BSYMBOLIC \
+		DISABLE_JSON_PATCH \
+		DISABLE_JSON_POINTER \
+		DISABLE_STATIC_FPIC \
+		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
 TEST_TARGET=	test
 USE_LDCONFIG=	yes
 
 CPE_VENDOR=	json-c_project
 
-post-install:
-	${INSTALL_DATA} ${WRKSRC}/json_object_private.h ${STAGEDIR}${PREFIX}/include/json-c/
-
 .include <bsd.port.mk>
diff --git a/devel/json-c/distinfo b/devel/json-c/distinfo
index 5d87d187799f..042c74dde4a8 100644
--- a/devel/json-c/distinfo
+++ b/devel/json-c/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1692211641
-SHA256 (json-c-0.17.tar.gz) = 7550914d58fb63b2c3546f3ccfbe11f1c094147bd31a69dcd23714d7956159e6
-SIZE (json-c-0.17.tar.gz) = 390045
+TIMESTAMP = 1726740921
+SHA256 (json-c-0.18.tar.gz) = 876ab046479166b869afc6896d288183bbc0e5843f141200c677b3e8dfb11724
+SIZE (json-c-0.18.tar.gz) = 401788
diff --git a/devel/json-c/pkg-plist b/devel/json-c/pkg-plist
index ff3f8390e8c1..5319666dc3ff 100644
--- a/devel/json-c/pkg-plist
+++ b/devel/json-c/pkg-plist
@@ -6,7 +6,6 @@ include/json-c/json_config.h
 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
@@ -21,5 +20,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.3.0
+lib/libjson-c.so.5.4.0
 libdata/pkgconfig/json-c.pc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202409250425.48P4PWUW033791>