aboutsummaryrefslogtreecommitdiffstats
path: root/www/node-devel
diff options
context:
space:
mode:
authorjpaetzel <jpaetzel@FreeBSD.org>2010-12-29 01:50:43 +0800
committerjpaetzel <jpaetzel@FreeBSD.org>2010-12-29 01:50:43 +0800
commit32c95e5f5821a69ea4157f0e82e59516f03bdc7f (patch)
tree14486f02d10dcb8504f1baf7781e9f5b3a618d4d /www/node-devel
parent022c1dbd41c744803d948e34b4dd06c5df7aaa01 (diff)
downloadfreebsd-ports-gnome-32c95e5f5821a69ea4157f0e82e59516f03bdc7f.tar.gz
freebsd-ports-gnome-32c95e5f5821a69ea4157f0e82e59516f03bdc7f.tar.zst
freebsd-ports-gnome-32c95e5f5821a69ea4157f0e82e59516f03bdc7f.zip
Update to latest version.
Disable on amd64, building has compile and runtime errors. PR: ports/153443 Submitted by: Jin-Sih Lin <linpct@gmail.com> Approved by: Jin-Sih Lin <linpct@gmail.com> (maintainer)
Diffstat (limited to 'www/node-devel')
-rw-r--r--www/node-devel/Makefile4
-rw-r--r--www/node-devel/distinfo4
-rw-r--r--www/node-devel/files/patch-platform-freebsd28
-rw-r--r--www/node-devel/pkg-plist3
4 files changed, 35 insertions, 4 deletions
diff --git a/www/node-devel/Makefile b/www/node-devel/Makefile
index 0b906d78f64d..cae1ecd37fbf 100644
--- a/www/node-devel/Makefile
+++ b/www/node-devel/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= node
-PORTVERSION= 0.3.1
+PORTVERSION= 0.3.2
CATEGORIES= www
MASTER_SITES= http://nodejs.org/dist/
PKGNAMESUFFIX= -devel
@@ -24,7 +24,7 @@ USE_LDCONFIG= yes
USE_PYTHON= yes
USE_GNOME= pkgconfig
-ONLY_FOR_ARCHS= i386 amd64
+ONLY_FOR_ARCHS= i386
MAKE_JOBS_SAFE= yes
CONFLICTS= node-0.2.[0-9]*
diff --git a/www/node-devel/distinfo b/www/node-devel/distinfo
index ef342a50fb63..accd306f1ce7 100644
--- a/www/node-devel/distinfo
+++ b/www/node-devel/distinfo
@@ -1,2 +1,2 @@
-SHA256 (node-v0.3.1.tar.gz) = 19c4c6144af143fbe37f80ec5d2843c4e19b5b6054fb10225bec314b60d2d012
-SIZE (node-v0.3.1.tar.gz) = 4147683
+SHA256 (node-v0.3.2.tar.gz) = 0cfb16b60c3c32c5fe0644108abb09e9425597a192c23844f29782b3ef7f7de2
+SIZE (node-v0.3.2.tar.gz) = 4433878
diff --git a/www/node-devel/files/patch-platform-freebsd b/www/node-devel/files/patch-platform-freebsd
new file mode 100644
index 000000000000..793f1be47747
--- /dev/null
+++ b/www/node-devel/files/patch-platform-freebsd
@@ -0,0 +1,28 @@
+--- deps/v8/src/platform-freebsd.cc.orig 2010-12-18 01:51:48.000000000 +0800
++++ deps/v8/src/platform-freebsd.cc 2010-12-26 00:30:36.000000000 +0800
+@@ -500,6 +500,16 @@
+ return result;
+ }
+
++ virtual bool TryLock() {
++ int result = pthread_mutex_trylock(&mutex_);
++ // Return false if the lock is busy and locking failed.
++ if (result == EBUSY) {
++ return false;
++ }
++ ASSERT(result == 0); // Verify no other errors.
++ return true;
++ }
++
+ private:
+ pthread_mutex_t mutex_; // Pthread mutex for POSIX platforms.
+ };
+@@ -578,7 +588,7 @@
+ TickSample sample;
+
+ // We always sample the VM state.
+- sample.state = VMState::current_state();
++ // sample.state = VMState::current_state();
+
+ // If profiling, we extract the current pc and sp.
+ if (active_sampler_->IsProfiling()) {
diff --git a/www/node-devel/pkg-plist b/www/node-devel/pkg-plist
index 077dadee13ac..991e3b0261a0 100644
--- a/www/node-devel/pkg-plist
+++ b/www/node-devel/pkg-plist
@@ -10,8 +10,11 @@ include/node/node_events.h
include/node/node_object_wrap.h
include/node/node_version.h
include/node/v8-debug.h
+include/node/v8-preparser.h
include/node/v8-profiler.h
+include/node/v8-testing.h
include/node/v8.h
+include/node/v8stdint.h
lib/node/wafadmin/Build.py
lib/node/wafadmin/Configure.py
lib/node/wafadmin/Constants.py