Commit 33e534d 1 parent f5dacfc commit 33e534d Copy full SHA for 33e534d
File tree 2 files changed +21
-6
lines changed
2 files changed +21
-6
lines changed Original file line number Diff line number Diff line change 1
1
--- PKGBUILD
2
2
+++ PKGBUILD
3
- @@ -40 ,6 +40,11 @@ validpgpkeys=(
4
- '890C08DB8579162FEE0DF9DB8BEAB4DFCF555EF4 ' # RafaelGSS <rafael.nunu@hotmail .com>
3
+ @@ -41 ,6 +41,12 @@ validpgpkeys=(
4
+ 'C82FA3AE1CBEDC6BE46B9360C43CEC45C17AB93C ' # Richard Lau <rlau@redhat .com>
5
5
)
6
6
7
7
+ prepare() {
8
8
+ cd node
9
9
+ patch -Np1 -i ../fix-trap-handler.patch
10
+ + patch -Np1 -i ../v8-disable-trap-handler.patch
10
11
+ }
11
12
+
12
13
build() {
13
14
cd node
14
15
15
- @@ -76 ,4 +81,7 @@ package() {
16
+ @@ -77 ,4 +83,8 @@ package() {
16
17
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/nodejs/
17
18
}
18
19
19
- + source+=("fix-trap-handler.patch")
20
- + sha512sums+=('f2ff6da8cf5dcc994a7a20342e2928dc1821fbbf42891009a6234b6051277e0200d7e3fbba63b9a2773887591d0ad5ceb1bb3d25e5efeb557f6d00109a80253c')
21
- +
20
+ + source+=("fix-trap-handler.patch"
21
+ + "v8-disable-trap-handler.patch")
22
+ + sha512sums+=('f2ff6da8cf5dcc994a7a20342e2928dc1821fbbf42891009a6234b6051277e0200d7e3fbba63b9a2773887591d0ad5ceb1bb3d25e5efeb557f6d00109a80253c'
23
+ + 'b6495aefd36915969ee848cca350a565317c74864cd33e6a69a310ed9cbc71dfbd91f31e8c6176667f6f72daa1762eb4d519700a024cdbe8b18049100a9e3c80')
22
24
# vim:set ts=2 sw=2 et:
Original file line number Diff line number Diff line change
1
+ diff --git a/deps/v8/src/trap-handler/trap-handler.h b/deps/v8/src/trap-handler/trap-handler.h
2
+ index 4bf95b8c22..2612c00a07 100644
3
+ --- a/deps/v8/src/trap-handler/trap-handler.h
4
+ +++ b/deps/v8/src/trap-handler/trap-handler.h
5
+ @@ -46,7 +46,7 @@ namespace trap_handler {
6
+ #define V8_TRAP_HANDLER_SUPPORTED true
7
+ // RISCV64 (non-simulator) on Linux.
8
+ #elif V8_TARGET_ARCH_RISCV64 && V8_HOST_ARCH_RISCV64 && V8_OS_LINUX
9
+ - #define V8_TRAP_HANDLER_SUPPORTED true
10
+ + #define V8_TRAP_HANDLER_SUPPORTED false
11
+ // RISCV64 simulator on x64 on Linux
12
+ #elif V8_TARGET_ARCH_RISCV64 && V8_HOST_ARCH_X64 && V8_OS_LINUX
13
+ #define V8_TRAP_HANDLER_VIA_SIMULATOR
You can’t perform that action at this time.
0 commit comments