ports/devel/jsonnet/files/patch-core_vm.cpp
Vladimir Druzenko 9b010c8152 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>
2025-09-05 02:14:25 +03:00

14 lines
457 B
C++

--- core/vm.cpp.orig 2025-05-07 12:28:56 UTC
+++ core/vm.cpp
@@ -1726,6 +1726,10 @@ class Interpreter {
abort();
}
+ case json::value_t::binary: {
+ abort();
+ }
+
default: {
// Newer nlohmann json.hpp (from v3.8.0 https://github.com/nlohmann/json/pull/1662)
// add a `value_t::binary` type, used when dealing with some JSON-adjacent binary