aboutsummaryrefslogtreecommitdiffstats
path: root/community/nodejs-current/link-with-libatomic-on-mips32.patch
diff options
context:
space:
mode:
authorAndy Postnikov <apostnikov@gmail.com>2019-04-23 22:06:24 +0300
committerAndy Postnikov <apostnikov@gmail.com>2019-05-14 20:04:06 +0300
commitb4840bc3518a1aca7c6eb3b63c9ba4a46c4692ec (patch)
tree4f394cfa0b49b2605078929d83b283d213dd6e3e /community/nodejs-current/link-with-libatomic-on-mips32.patch
parent1acad0a31388f16eaa2e31563891a1ed8a5a5f49 (diff)
downloadaports-b4840bc3518a1aca7c6eb3b63c9ba4a46c4692ec.tar.bz2
aports-b4840bc3518a1aca7c6eb3b63c9ba4a46c4692ec.tar.xz
community/nodejs-current: upgrade to 12.2.0
Diffstat (limited to 'community/nodejs-current/link-with-libatomic-on-mips32.patch')
-rw-r--r--community/nodejs-current/link-with-libatomic-on-mips32.patch22
1 files changed, 11 insertions, 11 deletions
diff --git a/community/nodejs-current/link-with-libatomic-on-mips32.patch b/community/nodejs-current/link-with-libatomic-on-mips32.patch
index 1210c69f70..21f9960d7b 100644
--- a/community/nodejs-current/link-with-libatomic-on-mips32.patch
+++ b/community/nodejs-current/link-with-libatomic-on-mips32.patch
@@ -1,20 +1,20 @@
---- a/deps/v8/gypfiles/v8.gyp
-+++ b/deps/v8/gypfiles/v8.gyp
-@@ -2012,6 +2012,11 @@
+--- a/tools/v8_gypfiles/v8.gyp
++++ b/tools/v8_gypfiles/v8.gyp
+@@ -2460,6 +2460,11 @@
+ }, {
+ 'toolsets': ['target'],
}],
- ],
- 'conditions': [
+ [ 'host_arch=="mips" or host_arch=="mipsel"', {
+ 'link_settings': {
+ 'libraries': [ '-latomic' ],
+ },
+ }],
['component=="shared_library"', {
- 'defines': [
- 'BUILDING_V8_BASE_SHARED',
+ 'direct_dependent_settings': {
+ 'defines': [ 'USING_V8_PLATFORM_SHARED' ],
--- a/node.gyp
+++ b/node.gyp
-@@ -479,6 +479,11 @@
+@@ -315,6 +315,11 @@
'msvs_disabled_warnings!': [4244],
'conditions': [
@@ -23,6 +23,6 @@
+ 'libraries': [ '-latomic' ],
+ },
+ }],
- [ 'node_code_cache_path!=""', {
- 'sources': [ '<(node_code_cache_path)' ]
- }, {
+ [ 'node_intermediate_lib_type=="static_library" and '
+ 'node_shared=="true" and OS=="aix"', {
+ # For AIX, shared lib is linked by static lib and .exp. In the