aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--repos/extra/nodejs/.checksum3
-rw-r--r--repos/extra/nodejs/abuild5
-rw-r--r--repos/extra/nodejs/atomic.patch28
-rw-r--r--repos/extra/nodejs/depends1
4 files changed, 33 insertions, 4 deletions
diff --git a/repos/extra/nodejs/.checksum b/repos/extra/nodejs/.checksum
index b353973d..c26d1b9a 100644
--- a/repos/extra/nodejs/.checksum
+++ b/repos/extra/nodejs/.checksum
@@ -1 +1,2 @@
-eb8856c7229dbbc4e7de424214f5ac7d3f9622267a29876c9f841b0628e0b34c node-v23.10.0.tar.xz
+45c5877fdef65b1dd07e884303959b4a508d5e58a4ef060f4d95729c3b16a653 atomic.patch
+8848068ea553e883039084c7faaffaacc3f23cb8997ce5c38d6bc7f9ab1b048f node-v23.11.0.tar.xz
diff --git a/repos/extra/nodejs/abuild b/repos/extra/nodejs/abuild
index fa70f8b1..7091d496 100644
--- a/repos/extra/nodejs/abuild
+++ b/repos/extra/nodejs/abuild
@@ -1,7 +1,8 @@
name=nodejs
-version=23.10.0
+version=23.11.0
release=1
-source="https://$name.org/dist/v$version/node-v$version.tar.xz"
+source="https://$name.org/dist/v$version/node-v$version.tar.xz
+ atomic.patch"
build() {
# use system openssl when openssl installed
diff --git a/repos/extra/nodejs/atomic.patch b/repos/extra/nodejs/atomic.patch
new file mode 100644
index 00000000..254ca7d3
--- /dev/null
+++ b/repos/extra/nodejs/atomic.patch
@@ -0,0 +1,28 @@
+--- a/node.gyp
++++ b/node.gyp
+@@ -510,9 +510,6 @@
+ '-Wl,-bnoerrmsg',
+ ],
+ }],
+- ['OS=="linux" and clang==1', {
+- 'libraries': ['-latomic'],
+- }],
+ ],
+ },
+
+--- a/tools/v8_gypfiles/v8.gyp
++++ b/tools/v8_gypfiles/v8.gyp
+@@ -1268,13 +1268,6 @@
+ ['v8_enable_third_party_heap', {
+ # TODO(targos): add values from v8_third_party_heap_libs to link_settings.libraries
+ }],
+- # Platforms that don't have Compare-And-Swap (CAS) support need to link atomic library
+- # to implement atomic memory access
+- ['v8_current_cpu in ["mips64", "mips64el", "ppc", "arm", "riscv64", "loong64"]', {
+- 'link_settings': {
+- 'libraries': ['-latomic', ],
+- },
+- }],
+ ],
+ }, # v8_base_without_compiler
+ {
diff --git a/repos/extra/nodejs/depends b/repos/extra/nodejs/depends
index b8f9467c..d67a5c30 100644
--- a/repos/extra/nodejs/depends
+++ b/repos/extra/nodejs/depends
@@ -2,4 +2,3 @@ c-ares
libuv
nghttp2
nghttp3
-libatomic