Created attachment 261520 [details] port patch - update to v0.21.0 - remove devel/rapidyaml dependency and corresponding patch to make this port build the bundled one. This is done because of version mismatch: ports tree currenly has 0.3.0 while 0.5.0 is needed at least. - update plist
forgot to add this one - remove upstreamed part from files/patch-core_vm.cpp
WARNING! Has dependents https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287760
Iām curious why not just upgrade devel/rapidyaml instead? Is there any particular reason for avoiding that approach?
(In reply to Gasol Wu from comment #3) Oh, I didn't see you're the maintainer of devel/rapidyaml as well. So I just thought it would be easier to contact with less. But anyway, I'll look at devel/rapidyaml update.
Created attachment 261643 [details] port patch rev 2 Ok, here it is.
(In reply to Pavel Timofeev from comment #5) - update to v0.21.0 - remove fix for json.hpp include in files/patch-core_vm.cpp as it is upstreamed - regenerate patch-CMakeLists.txt against current source code - update plist
Created attachment 262438 [details] v1 Please test the port in runtime with this patch.
Friendly ping! Or maintainer timeout 1 month?
Created attachment 263486 [details] testport output lgtm ``` $ pkg info | egrep 'c4core|rapid|jsonnet' c4core-0.2.6 Library of low-level C++ utilities jsonnet-0.21.0 JSON data templating language rapidyaml-0.9.0 Library to parse and emit YAML ```
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=9b010c8152f7638f18064a50d6178ca23a8d361b commit 9b010c8152f7638f18064a50d6178ca23a8d361b Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2025-09-04 23:02:34 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2025-09-04 23:14:25 +0000 devel/jsonnet: Update 0.20.0 => 0.21.0 Changelog: https://github.com/google/jsonnet/releases/tag/v0.21.0 - Replace the bundled rapidyaml hpp file with a newer one for compatibility with devel/rapidyaml. - Refresh patches. - Replace PORTVERSION with DISTVERSION and VERSION in PLIST_SUB. PR: 287756 Approved by: Gasol Wu <gasol.wu@gmail.com> (maintainer) Co-authored-by: Pavel Timofeev <timp87@gmail.com> devel/jsonnet/Makefile | 13 +++++++++-- devel/jsonnet/distinfo | 8 ++++--- devel/jsonnet/files/patch-CMakeLists.txt | 6 +++--- devel/jsonnet/files/patch-core_CMakeLists.txt | 4 ++-- devel/jsonnet/files/patch-core_vm.cpp | 25 +++++++--------------- ...atch-third__party_rapidyaml_ryml__all.hpp (new) | 20 +++++++++++++++++ devel/jsonnet/pkg-plist | 4 ++-- 7 files changed, 51 insertions(+), 29 deletions(-)
Thanks.