0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-11 23:00:52 +00:00
termux-packages/packages/nodejs/deps-v8-src-handles-handles.h.patch
Yaksh Bariya bb14ef479e
bump(main/nodejs): 21.6.2
also move to ninja instead of make to make the logs a bit more readable
2024-02-20 21:33:58 +05:30

13 lines
646 B
Diff

TODO(@thunder-coding): Remove this patch when NDK update fixes the issue.
--- ./deps/v8/src/handles/handles.h.orig 2024-02-18 16:58:52.371208097 +0530
+++ ./deps/v8/src/handles/handles.h 2024-02-18 16:59:18.375124836 +0530
@@ -129,7 +129,7 @@
} else {
// `static_assert(false)` in this else clause was an unconditional error
// before CWG2518. See https://reviews.llvm.org/D144285
-#if defined(__clang__) && __clang_major__ >= 17
+#if defined(__clang__) && __clang_major__ >= 17 && !defined(__ANDROID__)
// For non-HeapObjects, there's no on-heap object to dereference, so
// disallow using operator->.
//