pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/cJSON



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Jul  5 12:18:08 UTC 2023

Modified Files:
        pkgsrc/textproc/cJSON: Makefile distinfo

Log Message:
cJSON: updated to 1.7.16

1.7.16 (Jul 5, 2023)
======
Features:
------
* Add an option for ENABLE_CJSON_VERSION_SO in CMakeLists.txt
* Add cmake_policy to CMakeLists.txt
* Add cJSON_SetBoolValue
* Add meson documentation

Fixes:
------
* Fix memory leak in merge_patch
* Fix conflicting target names 'uninstall'
* Bump cmake version to 3.0 and use new version syntax
* Print int without decimal places
* Fix 'cjson_utils-static' target not exist
* Add allocate check for replace_item_in_object
* Fix a null pointer crash in cJSON_ReplaceItemViaPointer


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/textproc/cJSON/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/textproc/cJSON/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/cJSON/Makefile
diff -u pkgsrc/textproc/cJSON/Makefile:1.2 pkgsrc/textproc/cJSON/Makefile:1.3
--- pkgsrc/textproc/cJSON/Makefile:1.2  Mon Jul 25 11:12:28 2022
+++ pkgsrc/textproc/cJSON/Makefile      Wed Jul  5 12:18:08 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2022/07/25 11:12:28 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2023/07/05 12:18:08 adam Exp $
 
-DISTNAME=      cJSON-1.7.15
+DISTNAME=      cJSON-1.7.16
 CATEGORIES=    textproc
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=DaveGamble/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -10,14 +10,16 @@ HOMEPAGE=   https://github.com/DaveGamble/
 COMMENT=       Ultralightweight JSON parser in ANSI C
 LICENSE=       mit
 
-USE_CMAKE=     yes
 CMAKE_ARGS+=   -DENABLE_CJSON_UTILS=ON
 CMAKE_ARGS+=   -DENABLE_CUSTOM_COMPILER_FLAGS=OFF
 CMAKE_ARGS+=   -DBUILD_SHARED_AND_STATIC_LIBS=ON
 TEST_TARGET=   test
-TEST_ENV+=     LD_LIBRARY_PATH=${WRKSRC}
+TEST_ENV+=     LD_LIBRARY_PATH=${WRKSRC}/${CMAKE_BUILD_DIR}
+# For Darwin
+TEST_ENV+=     DYLD_LIBRARY_PATH=${WRKSRC}/${CMAKE_BUILD_DIR}
 
 PKGCONFIG_OVERRIDE+=   library_config/libcjson_utils.pc.in
 PKGCONFIG_OVERRIDE+=   library_config/libcjson.pc.in
 
+.include "../../devel/cmake/build.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/textproc/cJSON/distinfo
diff -u pkgsrc/textproc/cJSON/distinfo:1.3 pkgsrc/textproc/cJSON/distinfo:1.4
--- pkgsrc/textproc/cJSON/distinfo:1.3  Tue Oct 26 11:21:46 2021
+++ pkgsrc/textproc/cJSON/distinfo      Wed Jul  5 12:18:08 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2021/10/26 11:21:46 nia Exp $
+$NetBSD: distinfo,v 1.4 2023/07/05 12:18:08 adam Exp $
 
-BLAKE2s (cJSON-1.7.15.tar.gz) = 5eac7fc146564c2c1ea7701cd15d4331af5b485994e6b6a0d5618bc732dbba03
-SHA512 (cJSON-1.7.15.tar.gz) = 0b32a758c597fcc90c8ed0af493c9bccd611b9d4f9a03e87de3f7337bb9a28990b810befd44bc321a0cb42cbcd0b026d45761f9bab7bd798f920b7b6975fb124
-Size (cJSON-1.7.15.tar.gz) = 352278 bytes
+BLAKE2s (cJSON-1.7.16.tar.gz) = 4887e85762a36cab3f562aefd4d9616e4e36b53ee43e371ac0a1e5c10d5d36b7
+SHA512 (cJSON-1.7.16.tar.gz) = 3a894de03c33d89f1e7ee572418d5483c844d38e1e64aa4f6297ddaa01f4111f07601f8d26617b424b5af15d469e3955dae075d9f30b5c25e16ec348fdb06e6f
+Size (cJSON-1.7.16.tar.gz) = 353498 bytes



Home | Main Index | Thread Index | Old Index