Pavel Timofeev 2023-10-11 16:03:08 +02:00 committed by Fernando Apesteguía
parent 7eaf9423e9
commit ec73321397
3 changed files with 17 additions and 6 deletions

View file

@ -1,6 +1,6 @@
PORTNAME= jsonnet
DISTVERSIONPREFIX= v
DISTVERSION= 0.18.0
DISTVERSION= 0.20.0
CATEGORIES= devel
MAINTAINER= gasol.wu@gmail.com
@ -14,7 +14,7 @@ BUILD_DEPENDS= nlohmann-json>=3.6.1:devel/nlohmann-json
LIB_DEPENDS= libc4core.so:devel/c4core \
libryml.so:devel/rapidyaml
USES= compiler:c++11-lib cmake localbase:ldflags
USES= compiler:c++17-lang cmake localbase:ldflags
USE_GITHUB= yes
GH_ACCOUNT= google

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1641409936
SHA256 (google-jsonnet-v0.18.0_GH0.tar.gz) = 85c240c4740f0c788c4d49f9c9c0942f5a2d1c2ae58b2c71068107bc80a3ced4
SIZE (google-jsonnet-v0.18.0_GH0.tar.gz) = 22472162
TIMESTAMP = 1696949293
SHA256 (google-jsonnet-v0.20.0_GH0.tar.gz) = 77bd269073807731f6b11ff8d7c03e9065aafb8e4d038935deb388325e52511b
SIZE (google-jsonnet-v0.20.0_GH0.tar.gz) = 22481277

View file

@ -1,4 +1,4 @@
--- core/vm.cpp.orig 2021-12-21 17:55:49 UTC
--- core/vm.cpp.orig 2023-04-17 19:02:16 UTC
+++ core/vm.cpp
@@ -23,7 +23,7 @@ limitations under the License.
@ -9,3 +9,14 @@
#include "md5.h"
#include "parser.h"
#include "ryml_std.hpp" // include this before any other ryml header
@@ -1710,6 +1710,10 @@ class Interpreter {
} break;
case json::value_t::discarded: {
+ abort();
+ }
+
+ case json::value_t::binary: {
abort();
}
}