Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Oct 2021 12:42:16 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b2a038ae70a4 - main - www/node: enable sampler on powerpc64le
Message-ID:  <202110261242.19QCgG23051575@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b2a038ae70a41207451077c16b7ddb337ecdc2c1

commit b2a038ae70a41207451077c16b7ddb337ecdc2c1
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-10-26 12:39:58 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2021-10-26 12:39:58 +0000

    www/node: enable sampler on powerpc64le
---
 www/node/files/patch-deps_v8_src_libsampler_sampler.cc   | 2 +-
 www/node10/files/patch-deps_v8_src_libsampler_sampler.cc | 2 +-
 www/node14/files/patch-deps_v8_src_libsampler_sampler.cc | 2 +-
 www/node16/files/patch-deps_v8_src_libsampler_sampler.cc | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/www/node/files/patch-deps_v8_src_libsampler_sampler.cc b/www/node/files/patch-deps_v8_src_libsampler_sampler.cc
index 0e0a4c4e9fda..4a1f24a4a3c4 100644
--- a/www/node/files/patch-deps_v8_src_libsampler_sampler.cc
+++ b/www/node/files/patch-deps_v8_src_libsampler_sampler.cc
@@ -4,7 +4,7 @@
    state->pc = reinterpret_cast<void*>(mcontext.__gregs[_REG_PC]);
    state->sp = reinterpret_cast<void*>(mcontext.__gregs[_REG_SP]);
    state->fp = reinterpret_cast<void*>(mcontext.__gregs[_REG_FP]);
-+#elif V8_TARGET_ARCH_PPC_BE
++#elif V8_TARGET_ARCH_PPC64
 +  state->pc = reinterpret_cast<void*>(mcontext.mc_srr0);
 +  state->sp = reinterpret_cast<void*>(mcontext.mc_frame[1]);
 +  state->fp = reinterpret_cast<void*>(mcontext.mc_frame[31]);
diff --git a/www/node10/files/patch-deps_v8_src_libsampler_sampler.cc b/www/node10/files/patch-deps_v8_src_libsampler_sampler.cc
index 1548b15aae4b..d7f6c2dfb1a1 100644
--- a/www/node10/files/patch-deps_v8_src_libsampler_sampler.cc
+++ b/www/node10/files/patch-deps_v8_src_libsampler_sampler.cc
@@ -10,7 +10,7 @@
 +  state->pc = reinterpret_cast<void*>(mcontext.__gregs[_REG_PC]);
 +  state->sp = reinterpret_cast<void*>(mcontext.__gregs[_REG_SP]);
 +  state->fp = reinterpret_cast<void*>(mcontext.__gregs[_REG_FP]);
-+#elif V8_TARGET_ARCH_PPC_BE
++#elif V8_TARGET_ARCH_PPC64
 +  state->pc = reinterpret_cast<void*>(mcontext.mc_srr0);
 +  state->sp = reinterpret_cast<void*>(mcontext.mc_frame[1]);
 +  state->fp = reinterpret_cast<void*>(mcontext.mc_frame[31]);
diff --git a/www/node14/files/patch-deps_v8_src_libsampler_sampler.cc b/www/node14/files/patch-deps_v8_src_libsampler_sampler.cc
index e33a9c979345..1bc04e60a01d 100644
--- a/www/node14/files/patch-deps_v8_src_libsampler_sampler.cc
+++ b/www/node14/files/patch-deps_v8_src_libsampler_sampler.cc
@@ -4,7 +4,7 @@
    state->pc = reinterpret_cast<void*>(mcontext.__gregs[_REG_PC]);
    state->sp = reinterpret_cast<void*>(mcontext.__gregs[_REG_SP]);
    state->fp = reinterpret_cast<void*>(mcontext.__gregs[_REG_FP]);
-+#elif V8_TARGET_ARCH_PPC_BE
++#elif V8_TARGET_ARCH_PPC64
 +  state->pc = reinterpret_cast<void*>(mcontext.mc_srr0);
 +  state->sp = reinterpret_cast<void*>(mcontext.mc_frame[1]);
 +  state->fp = reinterpret_cast<void*>(mcontext.mc_frame[31]);
diff --git a/www/node16/files/patch-deps_v8_src_libsampler_sampler.cc b/www/node16/files/patch-deps_v8_src_libsampler_sampler.cc
index 13dee5483046..df5237313d28 100644
--- a/www/node16/files/patch-deps_v8_src_libsampler_sampler.cc
+++ b/www/node16/files/patch-deps_v8_src_libsampler_sampler.cc
@@ -4,7 +4,7 @@
    state->pc = reinterpret_cast<void*>(mcontext.__gregs[_REG_PC]);
    state->sp = reinterpret_cast<void*>(mcontext.__gregs[_REG_SP]);
    state->fp = reinterpret_cast<void*>(mcontext.__gregs[_REG_FP]);
-+#elif V8_TARGET_ARCH_PPC_BE
++#elif V8_TARGET_ARCH_PPC64
 +  state->pc = reinterpret_cast<void*>(mcontext.mc_srr0);
 +  state->sp = reinterpret_cast<void*>(mcontext.mc_frame[1]);
 +  state->fp = reinterpret_cast<void*>(mcontext.mc_frame[31]);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110261242.19QCgG23051575>