pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/yyjson



Module Name:    pkgsrc
Committed By:   vins
Date:           Sun May 11 07:31:56 UTC 2025

Modified Files:
        pkgsrc/devel/yyjson: Makefile buildlink3.mk distinfo

Log Message:
devel/yyjson: upsate to 0.11.0

# changes

Added

    Add YYJSON_READ_ALLOW_BOM flag to allow UTF-8 BOM.
    Add YYJSON_WRITE_FP_TO_FLOAT flag to write real numbers using single-precison.
    Add YYJSON_WRITE_FP_TO_FIXED(prec) flag to write real numbers using fix-point notation.
    Add set_fp_to_float() and set_fp_to_fixed() functions to control the output format of a specific number.
    Add set_str_noesc() function to skip escaping for a specific string during writing.
    Add yyjson_incr_read(), yyjson_incr_new(), yyjson_incr_free() functions for incremental DOM reading.

Changed

    Rewrite the floating-point number to string functions with a new fast path.
    When comments are allowed, return UNEXPECTED_END instead of INVALID_COMMENT for unclosed comments.
    Truncated escape sequences now report the error position at the sequence start rather than the end.

Fixed

    Fix some warnings when directly including yyjson.c: #177
    Fix missing indent for YYJSON_TYPE_RAW in prettify function: #178
    Fix bug in yyjson_mut_arr_iter_remove(): #194
    Fix clang 19 documentation warnings.
    Fix cmake 4 and cmake 3.5 warnings.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/yyjson/Makefile \
    pkgsrc/devel/yyjson/buildlink3.mk pkgsrc/devel/yyjson/distinfo

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

Modified files:

Index: pkgsrc/devel/yyjson/Makefile
diff -u pkgsrc/devel/yyjson/Makefile:1.1 pkgsrc/devel/yyjson/Makefile:1.2
--- pkgsrc/devel/yyjson/Makefile:1.1    Wed Jan  8 18:00:04 2025
+++ pkgsrc/devel/yyjson/Makefile        Sun May 11 07:31:56 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2025/01/08 18:00:04 vins Exp $
+# $NetBSD: Makefile,v 1.2 2025/05/11 07:31:56 vins Exp $
 
-DISTNAME=      yyjson-0.10.0
+DISTNAME=      yyjson-0.11.0
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=ibireme/}
 GITHUB_TAG=    ${PKGVERSION_NOREV}
Index: pkgsrc/devel/yyjson/buildlink3.mk
diff -u pkgsrc/devel/yyjson/buildlink3.mk:1.1 pkgsrc/devel/yyjson/buildlink3.mk:1.2
--- pkgsrc/devel/yyjson/buildlink3.mk:1.1       Wed Jan  8 18:00:04 2025
+++ pkgsrc/devel/yyjson/buildlink3.mk   Sun May 11 07:31:56 2025
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.1 2025/01/08 18:00:04 vins Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2025/05/11 07:31:56 vins Exp $
 
 BUILDLINK_TREE+=       yyjson
 
@@ -8,10 +8,11 @@ YYJSON_BUILDLINK3_MK:=
 BUILDLINK_DEPMETHOD.yyjson?=   build
 
 BUILDLINK_API_DEPENDS.yyjson+= yyjson>=0.10.0
+BUILDLINK_API_DEPENDS.yyjson+= yyjson>=0.11.0
 BUILDLINK_PKGSRCDIR.yyjson?=   ../../devel/yyjson
 
 BUILDLINK_LIBNAME.yyjson=      yyjson
-BUILDLINK_LDADD.yyjson=                ${BUILDLINK_LIBNAME.yyjson:S/^/-l/:S/^-l$//}
+BUILDLINK_LDADD.yyjson+=       ${BUILDLINK_LIBNAME.yyjson:S/^/-l/:S/^-l$//}
 
 .endif # YYJSON_BUILDLINK3_MK
 
Index: pkgsrc/devel/yyjson/distinfo
diff -u pkgsrc/devel/yyjson/distinfo:1.1 pkgsrc/devel/yyjson/distinfo:1.2
--- pkgsrc/devel/yyjson/distinfo:1.1    Wed Jan  8 18:00:04 2025
+++ pkgsrc/devel/yyjson/distinfo        Sun May 11 07:31:56 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1 2025/01/08 18:00:04 vins Exp $
+$NetBSD: distinfo,v 1.2 2025/05/11 07:31:56 vins Exp $
 
-BLAKE2s (yyjson-0.10.0.tar.gz) = 4e48c2aeb6a5a525a014392e676e1420d9f0689c5bebfd46019308a3b0cee60b
-SHA512 (yyjson-0.10.0.tar.gz) = d0274bfdae6291cc54d7c306f7f9064333d3e0fd8d235428148fa5695e151e0fdd0982247a5e82fe60b27e9182ba27d5704aca4546a8dc9545117bd3a017bfb5
-Size (yyjson-0.10.0.tar.gz) = 1538409 bytes
+BLAKE2s (yyjson-0.11.0.tar.gz) = 192fedc4c1fad83ea44ab2b5f1de55296f21a445c1ec814bd7e73be136c03f74
+SHA512 (yyjson-0.11.0.tar.gz) = a1abbc6c105c6b1cb1ca936ff148e7d4c3f77484397254952fc38ab2ebd7fab19cdd80648eb2bb7806508e83550628e0385f3c236ca815786da90ef36fae63a1
+Size (yyjson-0.11.0.tar.gz) = 1591254 bytes



Home | Main Index | Thread Index | Old Index