diff options
author | Mikael Urankar <mikael@FreeBSD.org> | 2021-11-13 15:29:02 +0100 |
---|---|---|
committer | Mikael Urankar <mikael@FreeBSD.org> | 2021-11-13 16:11:27 +0100 |
commit | e36c61dc186c96ee73cff434b710a0d37323f449 (patch) | |
tree | 93126e5f262a7b9de69526e54f331ff80b1c9786 /www/deno/files/patch-cargo-crates_v8_v8_include_v8config.h | |
parent | www/gitlab-ce: use new version of snowplow-tracker (diff) |
www/deno: Update to 1.16.1
Changes:
https://github.com/denoland/deno/releases/tag/v1.16.0
https://github.com/denoland/deno/releases/tag/v1.16.1
Diffstat (limited to 'www/deno/files/patch-cargo-crates_v8_v8_include_v8config.h')
-rw-r--r-- | www/deno/files/patch-cargo-crates_v8_v8_include_v8config.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/www/deno/files/patch-cargo-crates_v8_v8_include_v8config.h b/www/deno/files/patch-cargo-crates_v8_v8_include_v8config.h new file mode 100644 index 000000000000..41c2307ea961 --- /dev/null +++ b/www/deno/files/patch-cargo-crates_v8_v8_include_v8config.h @@ -0,0 +1,21 @@ +--- cargo-crates/v8-0.34.0/v8/include/v8config.h.orig 2020-06-26 16:28:04 UTC ++++ cargo-crates/v8-0.34.0/v8/include/v8config.h +@@ -273,7 +273,18 @@ + # define V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT \ + (__has_attribute(warn_unused_result)) + ++// Work around Clang bug present in 9.0.1, at least. ++// ++// Clang stores alignment as a 32-bit unsigned integer, but V8 only uses ++// V8_ASSUME_ALIGNED() for a 4GB (2^32) alignment ++// (kPtrComprIsolateRootAlignment). As such, the alignment overflows and ++// becomes zero, triggering an internal Clang assertion that alignment must not ++// be zero. ++#if 0 + # define V8_HAS_BUILTIN_ASSUME_ALIGNED (__has_builtin(__builtin_assume_aligned)) ++#else ++# define V8_HAS_BUILTIN_ASSUME_ALIGNED 0 ++#endif + # define V8_HAS_BUILTIN_BSWAP16 (__has_builtin(__builtin_bswap16)) + # define V8_HAS_BUILTIN_BSWAP32 (__has_builtin(__builtin_bswap32)) + # define V8_HAS_BUILTIN_BSWAP64 (__has_builtin(__builtin_bswap64)) |