From 0c144da0beb11c8c770ad5e711d4854ec4a6fab0 Mon Sep 17 00:00:00 2001 From: Yaksh Bariya Date: Wed, 15 Sep 2021 07:19:50 +0530 Subject: [PATCH] nodejs: Fix android logging --- packages/nodejs/build.sh | 1 + .../nodejs/tools-v8_gypfiles-toolchain.gypi.patch | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 packages/nodejs/tools-v8_gypfiles-toolchain.gypi.patch diff --git a/packages/nodejs/build.sh b/packages/nodejs/build.sh index 0e3aef782..1c063207e 100644 --- a/packages/nodejs/build.sh +++ b/packages/nodejs/build.sh @@ -5,6 +5,7 @@ TERMUX_PKG_MAINTAINER="Yaksh Bariya " # Note: package build may fail on Github Actions CI due to out-of-memory # condition. It should be built locally instead. TERMUX_PKG_VERSION=16.9.1 +TERMUX_PKG_REVISION=1 TERMUX_PKG_SRCURL=https://nodejs.org/dist/v${TERMUX_PKG_VERSION}/node-v${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SHA256=97f50ec53c050e7ac97bdbe5586aaca380dd23064064c85a1f2017a35244131c # Note that we do not use a shared libuv to avoid an issue with the Android diff --git a/packages/nodejs/tools-v8_gypfiles-toolchain.gypi.patch b/packages/nodejs/tools-v8_gypfiles-toolchain.gypi.patch new file mode 100644 index 000000000..cb71687ac --- /dev/null +++ b/packages/nodejs/tools-v8_gypfiles-toolchain.gypi.patch @@ -0,0 +1,11 @@ +--- ./tools/v8_gypfiles/toolchain.gypi 2021-09-15 07:18:39.300327067 +0530 ++++ ./tools/v8_gypfiles/toolchain.gypi.mod 2021-09-15 07:18:22.990327073 +0530 +@@ -62,7 +62,7 @@ + 'mips_use_msa%': 0, + + # Print to stdout on Android. +- 'v8_android_log_stdout%': 0, ++ 'v8_android_log_stdout%': 1, + + 'v8_enable_backtrace%': 0, +