notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
All times are UTC
Ukraine
non port: www/node/files/patch-deps_v8_src_compiler_js-type-feedback.h
SVNWeb

Number of commits found: 2

Thu, 5 May 2016
[ 13:45 pi search for other commits by this committer ] Original commit   Revision:414646 (Only the first 10 of 14 ports in this commit are shown above. View all ports for this commit)
www/node: 5.11.0 -> 6.0.0
New port: www/node5, to ease migration from node-5.x to node-6.x

This new major version of Node.js delivers significant improvements
in performance, reliability, usability and security. Module loading
is nearly four times faster than in Node.js v4, tests and documentation
have seen significant improvements, usability of the Buffer and
File System APIs have been improved, and Node.js now supports 93%
of ES6 language features, thanks to V8 version 5.0.

The full release announcement can be read here:
https://nodejs.org/en/blog/release/v6.0.0/

The full changelog is available on Github:
https://github.com/nodejs/node/commit/ce3e3c5fe15479475c068482c48eb9cbf1ac9df5

For node5:
node.js v5.x will only be supported for a few months to give people
time to move to v6. This new port is marked as deprecated with an
expiration date of July 1, allowing all of May and June to transition.
See https://nodejs.org/en/blog/release/v6.0.0/#what-about-node-js-v5

PR:		209215, 209216
Submitted by:	Bradley T. Hughes <bradleythughes@fastmail.fm> (maintainer)
Sat, 2 Apr 2016
[ 15:51 dim search for other commits by this committer ] Original commit   Revision:412412
During the exp-run in bug 208158, it was found that www/node gives
errors with libc++ 3.8.0 [1]:

/usr/include/c++/v1/map:837:5: error: static_assert failed
"Allocator::value_type must be same type as value_type"
    static_assert((is_same<typename allocator_type::value_type,
value_type>::value),
    ^            
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../deps/v8/src/compiler/js-type-feedback.h:41:21: note: in instantiation of
template class 'std::__1::map<unsigned int, v8::internal::TypeFeedbackId,
std::__1::less<unsigned int>,
v8::internal::zone_allocator<v8::internal::TypeFeedbackId> >' requested here
  TypeFeedbackIdMap type_feedback_id_map_;
                    ^

This is because libc++ 3.8.0 has added these sanity checks for custom
std::map allocators, which *must* be of the type std::pair<const Key,
Value>.  I fixed the few std::map instances in the node source by adding
this to their allocator types.

Approved by:	linpct@gmail.com (maintainer)
PR:		208270
MFH:		2016Q2

Number of commits found: 2