Page MenuHomeFreeBSD

D24612.diff
No OneTemporary

D24612.diff

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

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)

Event Timeline