diff options
Diffstat (limited to '')
-rw-r--r-- | devel/rapidyaml/Makefile | 6 | ||||
-rw-r--r-- | devel/rapidyaml/distinfo | 10 | ||||
-rw-r--r-- | devel/rapidyaml/files/patch-CMakeLists.txt | 17 | ||||
-rw-r--r-- | devel/rapidyaml/files/patch-src_c4_yml_common.hpp | 11 | ||||
-rw-r--r-- | devel/rapidyaml/pkg-plist | 13 |
5 files changed, 40 insertions, 17 deletions
diff --git a/devel/rapidyaml/Makefile b/devel/rapidyaml/Makefile index f99d02e4950b..0f4831429985 100644 --- a/devel/rapidyaml/Makefile +++ b/devel/rapidyaml/Makefile @@ -1,6 +1,6 @@ PORTNAME= rapidyaml DISTVERSIONPREFIX= v -DISTVERSION= 0.3.0 +DISTVERSION= 0.9.0 CATEGORIES= devel MAINTAINER= gasol.wu@gmail.com @@ -18,13 +18,13 @@ USES= compiler:c++11-lib cmake:noninja localbase:ldflags USE_GITHUB= yes GH_ACCOUNT= biojppm GH_PROJECT= cmake:cmake -GH_TAGNAME= 9416f29:cmake GH_SUBDIR= ext/c4core/cmake:cmake +GH_TAGNAME= e87e11f:cmake USE_LDCONFIG= yes CMAKE_ON= BUILD_SHARED_LIBS -PLIST_SUB= PORTVERSION=${PORTVERSION} +PLIST_SUB= VERSION=${DISTVERSION} .include <bsd.port.mk> diff --git a/devel/rapidyaml/distinfo b/devel/rapidyaml/distinfo index 61cf33a045d6..6d81dabf1f0b 100644 --- a/devel/rapidyaml/distinfo +++ b/devel/rapidyaml/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1641437701 -SHA256 (biojppm-rapidyaml-v0.3.0_GH0.tar.gz) = 1e25d739207733bd9febaf57793e4df3b7f868aa1d3c18d744b09b5d7b286a53 -SIZE (biojppm-rapidyaml-v0.3.0_GH0.tar.gz) = 291415 -SHA256 (biojppm-cmake-9416f29_GH0.tar.gz) = 4c4b47dec40782866deb56df29a93b89eec059a2b368d3ad72aed85b810109d8 -SIZE (biojppm-cmake-9416f29_GH0.tar.gz) = 121012 +TIMESTAMP = 1750781450 +SHA256 (biojppm-rapidyaml-v0.9.0_GH0.tar.gz) = 78e62e35b61bb59db53213cc0cfc1ad408a59e62fb66af30a886b75427f26321 +SIZE (biojppm-rapidyaml-v0.9.0_GH0.tar.gz) = 8238366 +SHA256 (biojppm-cmake-e87e11f_GH0.tar.gz) = a68e1ed2b92bab8111ce9de0fb21202af6e5e5c9a1b3f9e8c35a0a57d322b41b +SIZE (biojppm-cmake-e87e11f_GH0.tar.gz) = 145370 diff --git a/devel/rapidyaml/files/patch-CMakeLists.txt b/devel/rapidyaml/files/patch-CMakeLists.txt index f325c3ab33ae..e0d85b85b014 100644 --- a/devel/rapidyaml/files/patch-CMakeLists.txt +++ b/devel/rapidyaml/files/patch-CMakeLists.txt @@ -1,17 +1,19 @@ ---- CMakeLists.txt.orig 2021-12-28 17:18:42 UTC +--- CMakeLists.txt.orig 2025-04-10 19:51:13 UTC +++ CMakeLists.txt -@@ -17,9 +17,6 @@ option(RYML_DBG "Enable (very verbose) ryml debug prin +@@ -27,11 +27,6 @@ option(RYML_INSTALL "Enable install target" ON) #------------------------------------------------------- -c4_require_subproject(c4core INCORPORATE -- SUBDIRECTORY ${RYML_EXT_DIR}/c4core) +- SUBDIRECTORY ${RYML_EXT_DIR}/c4core +- OVERRIDE C4CORE_INSTALL ${RYML_INSTALL} +-) - c4_add_library(ryml SOURCES ryml.hpp -@@ -47,14 +44,15 @@ c4_add_library(ryml - c4/yml/tree.cpp +@@ -74,14 +69,14 @@ c4_add_library(ryml + c4/yml/version.cpp c4/yml/writer.hpp c4/yml/yml.hpp - ryml.natvis @@ -25,7 +27,6 @@ + +include_directories(/usr/local/include) +target_link_libraries(ryml c4core) -+ - if(NOT RYML_DEFAULT_CALLBACKS) - target_compile_definitions(ryml PRIVATE RYML_NO_DEFAULT_CALLBACKS) + if(RYML_WITH_TAB_TOKENS) + target_compile_definitions(ryml PUBLIC RYML_WITH_TAB_TOKENS) diff --git a/devel/rapidyaml/files/patch-src_c4_yml_common.hpp b/devel/rapidyaml/files/patch-src_c4_yml_common.hpp new file mode 100644 index 000000000000..44c801b3584b --- /dev/null +++ b/devel/rapidyaml/files/patch-src_c4_yml_common.hpp @@ -0,0 +1,11 @@ +--- src/c4/yml/common.hpp.orig 2025-04-10 19:51:13 UTC ++++ src/c4/yml/common.hpp +@@ -9,7 +9,7 @@ + #include <c4/dump.hpp> + #include <c4/yml/export.hpp> + +-#if defined(C4_MSVC) || defined(C4_MINGW) ++#if defined(C4_MSVC) || defined(C4_MINGW) || defined(__FreeBSD__) + #include <malloc.h> + #else + #include <alloca.h> diff --git a/devel/rapidyaml/pkg-plist b/devel/rapidyaml/pkg-plist index b9b03e81fd8c..8e2d09c4ec54 100644 --- a/devel/rapidyaml/pkg-plist +++ b/devel/rapidyaml/pkg-plist @@ -5,15 +5,26 @@ include/c4/yml/detail/print.hpp include/c4/yml/detail/stack.hpp include/c4/yml/emit.def.hpp include/c4/yml/emit.hpp +include/c4/yml/event_handler_stack.hpp +include/c4/yml/event_handler_tree.hpp include/c4/yml/export.hpp +include/c4/yml/filter_processor.hpp +include/c4/yml/fwd.hpp include/c4/yml/node.hpp +include/c4/yml/node_type.hpp include/c4/yml/parse.hpp +include/c4/yml/parse_engine.def.hpp +include/c4/yml/parse_engine.hpp +include/c4/yml/parser_state.hpp include/c4/yml/preprocess.hpp +include/c4/yml/reference_resolver.hpp include/c4/yml/std/map.hpp include/c4/yml/std/std.hpp include/c4/yml/std/string.hpp include/c4/yml/std/vector.hpp +include/c4/yml/tag.hpp include/c4/yml/tree.hpp +include/c4/yml/version.hpp include/c4/yml/writer.hpp include/c4/yml/yml.hpp include/ryml.hpp @@ -23,4 +34,4 @@ lib/cmake/ryml/rymlConfigVersion.cmake lib/cmake/ryml/rymlTargets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/ryml/rymlTargets.cmake lib/libryml.so -lib/libryml.so.%%PORTVERSION%% +lib/libryml.so.%%VERSION%% |