Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146574764
D24612.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D24612.diff
View Options
Index: head/www/node/Makefile
===================================================================
--- head/www/node/Makefile
+++ head/www/node/Makefile
@@ -78,6 +78,10 @@
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-common.gypi
.endif
+.if ${ARCH} == armv6 || ${ARCH} == armv7
+EXTRA_PATCHES= ${PATCHDIR}/extra-patch-tools_v8__gypfiles_v8.gyp
+.endif
+
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200085
BROKEN_SSL+= base
.endif
Index: head/www/node/files/extra-patch-tools_v8__gypfiles_v8.gyp
===================================================================
--- head/www/node/files/extra-patch-tools_v8__gypfiles_v8.gyp
+++ head/www/node/files/extra-patch-tools_v8__gypfiles_v8.gyp
@@ -0,0 +1,11 @@
+--- tools/v8_gypfiles/v8.gyp.orig 2020-04-25 08:50:20 UTC
++++ tools/v8_gypfiles/v8.gyp
+@@ -805,7 +805,7 @@
+ }],
+ # Platforms that don't have Compare-And-Swap (CAS) support need to link atomic library
+ # to implement atomic memory access
+- ['v8_current_cpu in ["mips", "mipsel", "mips64", "mips64el", "ppc", "arm"]', {
++ ['v8_current_cpu in ["mips", "mipsel", "mips64", "mips64el", "ppc"]', {
+ 'link_settings': {
+ 'libraries': ['-latomic', ],
+ },
Index: head/www/node12/Makefile
===================================================================
--- head/www/node12/Makefile
+++ head/www/node12/Makefile
@@ -80,6 +80,10 @@
BROKEN_SSL+= base
.endif
+.if ${ARCH} == armv6 || ${ARCH} == armv7
+EXTRA_PATCHES= ${PATCHDIR}/extra-patch-tools_v8__gypfiles_v8.gyp
+.endif
+
.if ${PORT_OPTIONS:MBUNDLED_SSL} && ${ARCH} != amd64
CONFIGURE_ARGS+=--openssl-no-asm
.endif
Index: head/www/node12/files/extra-patch-tools_v8__gypfiles_v8.gyp
===================================================================
--- head/www/node12/files/extra-patch-tools_v8__gypfiles_v8.gyp
+++ head/www/node12/files/extra-patch-tools_v8__gypfiles_v8.gyp
@@ -0,0 +1,11 @@
+--- tools/v8_gypfiles/v8.gyp.orig 2020-04-25 08:58:14 UTC
++++ tools/v8_gypfiles/v8.gyp
+@@ -809,7 +809,7 @@
+ }],
+ # Platforms that don't have Compare-And-Swap (CAS) support need to link atomic library
+ # to implement atomic memory access
+- ['v8_current_cpu in ["mips", "mipsel", "mips64", "mips64el", "ppc", "arm"]', {
++ ['v8_current_cpu in ["mips", "mipsel", "mips64", "mips64el", "ppc"]', {
+ 'link_settings': {
+ 'libraries': ['-latomic', ],
+ },
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 4, 6:51 PM (1 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29253497
Default Alt Text
D24612.diff (2 KB)
Attached To
Mode
D24612: www/node, www/node12: Fix build on armv6 and armv7
Attached
Detach File
Event Timeline
Log In to Comment