FreeBSD Bugzilla – Attachment 230781 Details for
Bug 260998
devel/jsonnet: Update to 0.18.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
0003-devel-jsonnet-Update-to-0.18.0.patch (text/plain), 4.25 KB, created by
Gasol Wu
on 2022-01-07 06:55:51 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Gasol Wu
Created:
2022-01-07 06:55:51 UTC
Size:
4.25 KB
patch
obsolete
>From 7b799c254bffcbb2c93482befde9120e92222c99 Mon Sep 17 00:00:00 2001 >From: Gasol Wu <gasol.wu@gmail.com> >Date: Thu, 6 Jan 2022 03:13:13 +0800 >Subject: [PATCH 3/3] devel/jsonnet: Update to 0.18.0 > >- Add devel/rapidyaml depends >--- > devel/jsonnet/Makefile | 6 ++++-- > devel/jsonnet/distinfo | 6 +++--- > devel/jsonnet/files/patch-CMakeLists.txt | 10 ++++++++++ > devel/jsonnet/files/patch-core_CMakeLists.txt | 11 +++++++++++ > devel/jsonnet/files/patch-core_vm.cpp | 4 ++-- > devel/jsonnet/pkg-descr | 2 +- > 6 files changed, 31 insertions(+), 8 deletions(-) > create mode 100644 devel/jsonnet/files/patch-CMakeLists.txt > create mode 100644 devel/jsonnet/files/patch-core_CMakeLists.txt > >diff --git a/devel/jsonnet/Makefile b/devel/jsonnet/Makefile >index f143c2c6942..1bd6463bf7c 100644 >--- a/devel/jsonnet/Makefile >+++ b/devel/jsonnet/Makefile >@@ -2,7 +2,7 @@ > > PORTNAME= jsonnet > DISTVERSIONPREFIX= v >-DISTVERSION= 0.17.0 >+DISTVERSION= 0.18.0 > CATEGORIES= devel > > MAINTAINER= gasol.wu@gmail.com >@@ -12,8 +12,10 @@ LICENSE= APACHE20 > LICENSE_FILE= ${WRKSRC}/LICENSE > > BUILD_DEPENDS= nlohmann-json>=3.6.1:devel/nlohmann-json >+LIB_DEPENDS= libryml.so:devel/rapidyaml>=0.3.0 \ >+ libc4core.so:devel/c4core>=0.1.8 > >-USES= compiler:c++11-lib cmake >+USES= compiler:c++11-lib cmake localbase:ldflags > > USE_GITHUB= yes > GH_ACCOUNT= google >diff --git a/devel/jsonnet/distinfo b/devel/jsonnet/distinfo >index b5c561aee0d..6b336c0ba35 100644 >--- a/devel/jsonnet/distinfo >+++ b/devel/jsonnet/distinfo >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1623453189 >-SHA256 (google-jsonnet-v0.17.0_GH0.tar.gz) = 076b52edf888c01097010ad4299e3b2e7a72b60a41abbc65af364af1ed3c8dbe >-SIZE (google-jsonnet-v0.17.0_GH0.tar.gz) = 21854054 >+TIMESTAMP = 1641409936 >+SHA256 (google-jsonnet-v0.18.0_GH0.tar.gz) = 85c240c4740f0c788c4d49f9c9c0942f5a2d1c2ae58b2c71068107bc80a3ced4 >+SIZE (google-jsonnet-v0.18.0_GH0.tar.gz) = 22472162 >diff --git a/devel/jsonnet/files/patch-CMakeLists.txt b/devel/jsonnet/files/patch-CMakeLists.txt >new file mode 100644 >index 00000000000..49c35302e18 >--- /dev/null >+++ b/devel/jsonnet/files/patch-CMakeLists.txt >@@ -0,0 +1,10 @@ >+--- CMakeLists.txt.orig 2021-12-21 17:55:49 UTC >++++ CMakeLists.txt >+@@ -121,7 +121,6 @@ endif() >+ add_subdirectory(include) >+ add_subdirectory(stdlib) >+ add_subdirectory(third_party/md5) >+-add_subdirectory(third_party/rapidyaml/rapidyaml ryml) >+ add_subdirectory(core) >+ add_subdirectory(cpp) >+ add_subdirectory(cmd) >diff --git a/devel/jsonnet/files/patch-core_CMakeLists.txt b/devel/jsonnet/files/patch-core_CMakeLists.txt >new file mode 100644 >index 00000000000..5550a634f3b >--- /dev/null >+++ b/devel/jsonnet/files/patch-core_CMakeLists.txt >@@ -0,0 +1,11 @@ >+--- core/CMakeLists.txt.orig 2022-01-06 06:59:54 UTC >++++ core/CMakeLists.txt >+@@ -30,7 +30,7 @@ set(LIBJSONNET_SOURCE >+ >+ add_library(libjsonnet SHARED ${LIBJSONNET_HEADERS} ${LIBJSONNET_SOURCE}) >+ add_dependencies(libjsonnet md5 stdlib) >+-target_link_libraries(libjsonnet md5 nlohmann_json::nlohmann_json ryml) >++target_link_libraries(libjsonnet md5 nlohmann_json::nlohmann_json ryml c4core) >+ >+ file(STRINGS ${CMAKE_CURRENT_SOURCE_DIR}/../include/libjsonnet.h JSONNET_VERSION_DEF >+ REGEX "[#]define[ \t]+LIB_JSONNET_VERSION[ \t]+") >diff --git a/devel/jsonnet/files/patch-core_vm.cpp b/devel/jsonnet/files/patch-core_vm.cpp >index ad918c4d2b6..29f1ae59a6d 100644 >--- a/devel/jsonnet/files/patch-core_vm.cpp >+++ b/devel/jsonnet/files/patch-core_vm.cpp >@@ -1,4 +1,4 @@ >---- core/vm.cpp.orig 2021-06-20 03:31:11 UTC >+--- core/vm.cpp.orig 2021-12-21 17:55:49 UTC > +++ core/vm.cpp > @@ -23,7 +23,7 @@ limitations under the License. > >@@ -8,4 +8,4 @@ > +#include "nlohmann/json.hpp" > #include "md5.h" > #include "parser.h" >- #include "state.h" >+ #include "ryml_std.hpp" // include this before any other ryml header >diff --git a/devel/jsonnet/pkg-descr b/devel/jsonnet/pkg-descr >index 2131938a546..de6876f413e 100644 >--- a/devel/jsonnet/pkg-descr >+++ b/devel/jsonnet/pkg-descr >@@ -4,4 +4,4 @@ the same benefit to structured data that templating languages bring to plain > text. The example below illustrates a few features -- referring to another part > of the structure, overriding object fields, and string operations. > >-WWW: https://github.com/google/jsonnet >+WWW: https://jsonnet.org >-- >2.32.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
gasol.wu
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 260998
:
230781
|
230808
|
230809