diff options
author | fhajny <fhajny@pkgsrc.org> | 2015-06-03 18:23:24 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2015-06-03 18:23:24 +0000 |
commit | d0ad88850bd511a85f51cd5143eb48da8a168f31 (patch) | |
tree | fe958ad59b7c009ec81437eba57c9b287fd0007b /lang/nodejs/patches | |
parent | 473035223a62933c1268c62fefc1d1dabf690fc4 (diff) | |
download | pkgsrc-d0ad88850bd511a85f51cd5143eb48da8a168f31.tar.gz |
Update nodejs to 0.12.4.
Fix joerg's patch to actually do the right thing on NetBSD 6.
Add option to build with Intl support using textproc/icu.
Cleanup.
2015.05.22, Version 0.12.4 (Stable)
* npm: upgrade to 2.10.1
* V8: revert v8 Array.prototype.values() removal (cjihrig)
* win: bring back xp/2k3 support (Bert Belder)
Diffstat (limited to 'lang/nodejs/patches')
-rw-r--r-- | lang/nodejs/patches/patch-deps_v8_src_base_platform_semaphore.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/nodejs/patches/patch-deps_v8_src_base_platform_semaphore.cc b/lang/nodejs/patches/patch-deps_v8_src_base_platform_semaphore.cc index 31ef2842f5c..1f964153a86 100644 --- a/lang/nodejs/patches/patch-deps_v8_src_base_platform_semaphore.cc +++ b/lang/nodejs/patches/patch-deps_v8_src_base_platform_semaphore.cc @@ -1,4 +1,4 @@ -$NetBSD: patch-deps_v8_src_base_platform_semaphore.cc,v 1.2 2015/05/14 20:36:37 joerg Exp $ +$NetBSD: patch-deps_v8_src_base_platform_semaphore.cc,v 1.3 2015/06/03 18:23:24 fhajny Exp $ Work around lack of sem_timedwait(3) in NetBSD < 6.99.4. Adapted from d4f11c0cf476dd854eaebec1cbacb1afc7bea18e of the Chromium V8 sources. @@ -23,7 +23,7 @@ Adapted from d4f11c0cf476dd854eaebec1cbacb1afc7bea18e of the Chromium V8 sources bool Semaphore::WaitFor(const TimeDelta& rel_time) { -+#if V8_OS_NACL || (V8_OS_NETBSD && __NetBSD_Version__ - 0 > 699000400) ++#if V8_OS_NACL || (V8_OS_NETBSD && __NetBSD_Version__ - 0 < 699000400) + // PNaCL and older NetBSD doesn't support sem_timedwait, do ugly busy waiting. + ElapsedTimer timer; + timer.Start(); |