From afe62c1a31c96e899626b23d8da3fd74fff8ad1c2db0308bf6d1ff2c7f098eda Mon Sep 17 00:00:00 2001 From: Avindra Goolcharan Date: Sat, 19 Jun 2021 18:11:46 +0000 Subject: [PATCH] 69 OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/deno?expand=0&rev=31 --- deno-69.patch | 13 +++++++++++++ deno.changes | 1 + deno.spec | 1 + 3 files changed, 15 insertions(+) create mode 100644 deno-69.patch diff --git a/deno-69.patch b/deno-69.patch new file mode 100644 index 0000000..1004cad --- /dev/null +++ b/deno-69.patch @@ -0,0 +1,13 @@ +diff --git a/core/runtime.rs.1 b/core/runtime.rs +index 71aad8e..a806ecd 100644 +--- a/core/runtime.rs.1 ++++ b/core/runtime.rs +@@ -145,7 +145,7 @@ fn v8_init(v8_platform: Option>) { + #[repr(C, align(16))] + struct IcuData([u8; 10413584]); + static ICU_DATA: IcuData = IcuData(*include_bytes!("icudtl.dat")); +- v8::icu::set_common_data(&ICU_DATA.0).unwrap(); ++ v8::icu::set_common_data_69(&ICU_DATA.0).unwrap(); + + let v8_platform = v8_platform + .unwrap_or_else(v8::new_default_platform) diff --git a/deno.changes b/deno.changes index 11b182d..384dd68 100644 --- a/deno.changes +++ b/deno.changes @@ -21,6 +21,7 @@ Sat Jun 19 05:38:31 UTC 2021 - Avindra Goolcharan * fix(node/process): make process.env enumerable (#957) * fix(node/util): fix util.inherits (#959) - includes V8 9.2.230.10 (rusty_v8/#700) +- add deno-69.patch for rusty_v8/#702 parity ------------------------------------------------------------------- Wed Jun 9 05:15:53 UTC 2021 - Avindra Goolcharan diff --git a/deno.spec b/deno.spec index 7c61ce6..9d5cb74 100644 --- a/deno.spec +++ b/deno.spec @@ -28,6 +28,7 @@ URL: https://github.com/denoland/deno Source0: %{name}-%{version}.tar.xz Source1: vendor.tar.xz Source99: revendor_source.sh +Patch0: deno-69.patch BuildRequires: clang # gcc-c++ needed to build SPIRV-Cross BuildRequires: gcc-c++