mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
Update to upstream version 7.9.0, fix build on armv6
PR: 218081, 218643 Submitted by: mikael.urankar@gmail.com, bradleythughes@fastmail.fm (maintainer) Approved by: bradleythughes@fastmail.fm (maintainer)
This commit is contained in:
parent
ea0de7d066
commit
60dd53d189
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=438506
@ -1,8 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= node
|
||||
PORTVERSION= 7.8.0
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 7.9.0
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://nodejs.org/dist/v${PORTVERSION}/
|
||||
@ -26,7 +25,7 @@ OPTIONS_EXCLUDE+= DTRACE
|
||||
|
||||
OPTIONS_EXCLUDE_FreeBSD_10= DTRACE
|
||||
|
||||
BUNDLED_SSL_DESC= Use node.js's bundled OpenSSL implementation #'
|
||||
BUNDLED_SSL_DESC= Use node.js's bundled OpenSSL implementation
|
||||
BUNDLED_SSL_USES_OFF= ssl
|
||||
BUNDLED_SSL_CONFIGURE_OFF= --shared-openssl --openssl-use-def-ca-store
|
||||
BUNDLED_SSL_RUN_DEPENDS_OFF= ca_root_nss>=0:security/ca_root_nss
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1490776357
|
||||
SHA256 (node-v7.8.0.tar.gz) = 6aa2ab52763f33ce09b63e913f3caf67d9d4b1120c70b087b50155bd647b76da
|
||||
SIZE (node-v7.8.0.tar.gz) = 28035910
|
||||
TIMESTAMP = 1492021561
|
||||
SHA256 (node-v7.9.0.tar.gz) = 5cc131bb16f7ca688c29634a18b3c6a7816609a431a509f31baedf7caf25d626
|
||||
SIZE (node-v7.9.0.tar.gz) = 28049500
|
||||
|
@ -1,26 +1,5 @@
|
||||
--- deps/v8/src/base/atomicops_internals_arm_gcc.h.orig 2016-10-19 22:02:03 UTC
|
||||
+++ deps/v8/src/base/atomicops_internals_arm_gcc.h
|
||||
@@ -13,6 +13,11 @@
|
||||
#include <sys/cpuinline.h>
|
||||
#endif
|
||||
|
||||
+#if defined(__FreeBSD__)
|
||||
+#include <sys/types.h>
|
||||
+#include <machine/sysarch.h>
|
||||
+#endif
|
||||
+
|
||||
namespace v8 {
|
||||
namespace base {
|
||||
|
||||
@@ -48,6 +53,8 @@ inline void MemoryBarrier() {
|
||||
// Note: This is a function call, which is also an implicit compiler barrier.
|
||||
typedef void (*KernelMemoryBarrierFunc)();
|
||||
((KernelMemoryBarrierFunc)0xffff0fa0)();
|
||||
+#elif defined(__FreeBSD__)
|
||||
+ sysarch(ARM_DRAIN_WRITEBUF, (void *)0);
|
||||
#elif defined(__QNXNTO__)
|
||||
__cpu_membarrier();
|
||||
#else
|
||||
@@ -64,8 +71,9 @@ inline void MemoryBarrier() {
|
||||
defined(__ARM_ARCH_7__) || defined(__ARM_ARCH_7A__) || \
|
||||
defined(__ARM_ARCH_7R__) || defined(__ARM_ARCH_7M__) || \
|
||||
|
15
www/node/files/patch-node.gyp
Normal file
15
www/node/files/patch-node.gyp
Normal file
@ -0,0 +1,15 @@
|
||||
--- node.gyp.orig 2017-03-24 18:42:07.195465000 +0100
|
||||
+++ node.gyp 2017-03-24 18:42:26.672322000 +0100
|
||||
@@ -842,6 +842,12 @@
|
||||
'<(OBJ_DIR)/node/src/node_dtrace_ustack.o'
|
||||
],
|
||||
'conditions': [
|
||||
+ [ 'target_arch=="arm"', {
|
||||
+ 'action': [
|
||||
+ 'dtrace', '-32', '-I<(SHARED_INTERMEDIATE_DIR)', '-Isrc',
|
||||
+ '-C', '-G', '-s', 'src/v8ustack.d', '-o', '<@(_outputs)',
|
||||
+ ]
|
||||
+ } ],
|
||||
[ 'target_arch=="ia32"', {
|
||||
'action': [
|
||||
'dtrace', '-32', '-I<(SHARED_INTERMEDIATE_DIR)', '-Isrc',
|
@ -115,4 +115,6 @@ include/node/v8config.h
|
||||
%%DTRACE%%lib/dtrace/node.d
|
||||
@(,,444) man/man1/node.1.gz
|
||||
%%PORTDOCS%%%%DOCSDIR%%/gdbinit
|
||||
%%PORTDOCS%%%%DOCSDIR%%/lldb_commands.py
|
||||
%%PORTDOCS%%%%DOCSDIR%%/lldbinit
|
||||
share/systemtap/tapset/node.stp
|
||||
|
Loading…
Reference in New Issue
Block a user