pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/nodejs



Module Name:    pkgsrc
Committed By:   mrg
Date:           Sat Oct 17 07:22:15 UTC 2020

Modified Files:
        pkgsrc/lang/nodejs: distinfo
Added Files:
        pkgsrc/lang/nodejs/patches: patch-deps_v8_src_codegen_arm_cpu-arm.cc

Log Message:
make build on netbsd/arm.


To generate a diff of this commit:
cvs rdiff -u -r1.183 -r1.184 pkgsrc/lang/nodejs/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/lang/nodejs/patches/patch-deps_v8_src_codegen_arm_cpu-arm.cc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/nodejs/distinfo
diff -u pkgsrc/lang/nodejs/distinfo:1.183 pkgsrc/lang/nodejs/distinfo:1.184
--- pkgsrc/lang/nodejs/distinfo:1.183   Thu Oct  8 10:58:35 2020
+++ pkgsrc/lang/nodejs/distinfo Sat Oct 17 07:22:15 2020
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.183 2020/10/08 10:58:35 adam Exp $
+$NetBSD: distinfo,v 1.184 2020/10/17 07:22:15 mrg Exp $
 
 SHA1 (node-v14.13.1.tar.xz) = 2bed8e2334d0a71a2e430539ae075e519642732e
 RMD160 (node-v14.13.1.tar.xz) = 64015436572aed17a85acf2078be7e2e6a746607
@@ -13,6 +13,7 @@ SHA1 (patch-deps_v8_src_base_platform_pl
 SHA1 (patch-deps_v8_src_base_platform_platform-openbsd.cc) = 5e593879dbab095f99e82593272a0de91043f9a8
 SHA1 (patch-deps_v8_src_base_platform_platform-posix.cc) = 84300d917c172e6211a00b76bfb44ee25465ee00
 SHA1 (patch-deps_v8_src_base_platform_semaphore.cc) = 802a95f1b1d131e0d85c1f99c659cc68b31ba2f6
+SHA1 (patch-deps_v8_src_codegen_arm_cpu-arm.cc) = 84c75d61bc99c2ff9adeac3152f5b11ebb0e582b
 SHA1 (patch-deps_v8_src_common_globals.h) = 86637724864389f2b24251904de41669a2f00fbc
 SHA1 (patch-deps_v8_src_compiler_types.h) = 2a212282ab9d71e98ae56827fdb1d9778a6047a5
 SHA1 (patch-deps_v8_src_zone_zone.h) = 651b49d242dac8f713cccc101147ccf61f828ecb

Added files:

Index: pkgsrc/lang/nodejs/patches/patch-deps_v8_src_codegen_arm_cpu-arm.cc
diff -u /dev/null pkgsrc/lang/nodejs/patches/patch-deps_v8_src_codegen_arm_cpu-arm.cc:1.1
--- /dev/null   Sat Oct 17 07:22:15 2020
+++ pkgsrc/lang/nodejs/patches/patch-deps_v8_src_codegen_arm_cpu-arm.cc Sat Oct 17 07:22:15 2020
@@ -0,0 +1,26 @@
+$NetBSD: patch-deps_v8_src_codegen_arm_cpu-arm.cc,v 1.1 2020/10/17 07:22:15 mrg Exp $
+
+port to NetBSD/arm.
+
+--- deps/v8/src/codegen/arm/cpu-arm.cc.orig    2020-10-07 10:47:41.000000000 -0700
++++ deps/v8/src/codegen/arm/cpu-arm.cc 2020-10-17 00:16:51.732785305 -0700
+@@ -19,6 +19,10 @@
+ 
+ #include "src/codegen/cpu-features.h"
+ 
++#if V8_OS_NETBSD
++#include <machine/sysarch.h>
++#endif
++
+ namespace v8 {
+ namespace internal {
+ 
+@@ -32,6 +36,8 @@
+   struct arm_sync_icache_args args = {
+       .addr = reinterpret_cast<uintptr_t>(start), .len = size};
+   sysarch(ARM_SYNC_ICACHE, reinterpret_cast<void*>(&args));
++#elif V8_OS_NETBSD
++  arm_sync_icache(reinterpret_cast<uintptr_t>(start), size);
+ #else
+   register uint32_t beg asm("r0") = reinterpret_cast<uint32_t>(start);
+   register uint32_t end asm("r1") = beg + size;



Home | Main Index | Thread Index | Old Index