git: 927aece18eeb - main - devel/json-c: Update to 0.16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 18 Apr 2022 00:00:35 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=927aece18eeb41f2b7012ebde2026160740e6809 commit 927aece18eeb41f2b7012ebde2026160740e6809 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-04-17 23:42:22 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-04-17 23:58:01 +0000 devel/json-c: Update to 0.16 Changes: https://github.com/json-c/json-c/blob/master/ChangeLog --- devel/json-c/Makefile | 7 +++---- devel/json-c/distinfo | 6 +++--- devel/json-c/files/patch-CMakeLists.txt | 13 +++++++++++-- devel/json-c/pkg-plist | 2 +- 4 files changed, 18 insertions(+), 10 deletions(-) diff --git a/devel/json-c/Makefile b/devel/json-c/Makefile index cc5b9aebebde..4ecd723a6740 100644 --- a/devel/json-c/Makefile +++ b/devel/json-c/Makefile @@ -1,8 +1,7 @@ # Created by: gno@yahoo-inc.com PORTNAME= json-c -PORTVERSION= 0.15 -PORTREVISION= 1 +PORTVERSION= 0.16 CATEGORIES= devel MASTER_SITES= https://s3.amazonaws.com/json-c_releases/releases/ \ LOCAL/sunpoet @@ -15,8 +14,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING USES= cmake compiler:c11 cpe -CMAKE_OFF= BUILD_DOCUMENTATION -CMAKE_ON= BUILD_SHARED_LIBS BUILD_STATIC_LIBS DISABLE_WERROR +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 TEST_TARGET= test USE_LDCONFIG= yes diff --git a/devel/json-c/distinfo b/devel/json-c/distinfo index 420ac3a1b588..36f7466ac483 100644 --- a/devel/json-c/distinfo +++ b/devel/json-c/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1597081472 -SHA256 (json-c-0.15.tar.gz) = b8d80a1ddb718b3ba7492916237bbf86609e9709fb007e7f7d4322f02341a4c6 -SIZE (json-c-0.15.tar.gz) = 361488 +TIMESTAMP = 1650228674 +SHA256 (json-c-0.16.tar.gz) = 8e45ac8f96ec7791eaf3bb7ee50e9c2100bbbc87b8d0f1d030c5ba8a0288d96b +SIZE (json-c-0.16.tar.gz) = 351916 diff --git a/devel/json-c/files/patch-CMakeLists.txt b/devel/json-c/files/patch-CMakeLists.txt index 152f9d0ff1f5..6b0b4eb19eb9 100644 --- a/devel/json-c/files/patch-CMakeLists.txt +++ b/devel/json-c/files/patch-CMakeLists.txt @@ -1,8 +1,8 @@ Avoid use of newlocale(3) that results in increasing memory usage ---- CMakeLists.txt.orig 2020-07-26 15:08:19 UTC +--- CMakeLists.txt.orig 2022-04-14 01:09:51 UTC +++ CMakeLists.txt -@@ -177,7 +177,7 @@ if (HAVE_STDLIB_H) +@@ -198,7 +198,7 @@ if (HAVE_STDLIB_H) endif() if (HAVE_LOCALE_H) check_symbol_exists(setlocale "locale.h" HAVE_SETLOCALE) @@ -11,3 +11,12 @@ Avoid use of newlocale(3) that results in increasing memory usage endif() if (HAVE_STRINGS_H) check_symbol_exists(strcasecmp "strings.h" HAVE_STRCASECMP) +@@ -432,8 +432,6 @@ configure_file(json.h.cmakein ${PROJECT_BINARY_DIR}/js + + include_directories(${PROJECT_SOURCE_DIR}) + include_directories(${PROJECT_BINARY_DIR}) +- +-add_subdirectory(doc) + + # "uninstall" custom target for make generators in unix like operating systems + # and if that target is not present diff --git a/devel/json-c/pkg-plist b/devel/json-c/pkg-plist index 7d0971f7e6bc..ce69d8eeee65 100644 --- a/devel/json-c/pkg-plist +++ b/devel/json-c/pkg-plist @@ -20,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.1.0 +lib/libjson-c.so.5.2.0 libdata/pkgconfig/json-c.pc