joyent/node — pull request #7021 by Chilledheart (2014-02-01 16:00:40+00:00)
Title: v8: backport r18035 into current version, fixing v8 build on freebsd

the lines below is the same with https://github.com/joyent/node/issues/7020

> When hacking with node, i got a build error (built on freebsd)
```
../deps/v9/src/platform-freebsd.cc:185:62: error: too few arguments provided to function-like macro invocation
LOG(isolate SharedLibraryEvent(start_of_path, start, end));
^
../deps/v8/src/log.h:86:9: note: macro 'LOG' defined here
#define LOG(isolate, Call) \
^
../deps/v8/src/platform-freebsd.cc:185:5: error: use of undeclared identifier 'LOG'
LOG(isolate SharedLibraryEvent(start_of_path, start, end));
^
2 errors generated.
gmake[1]: *** [/usr/home/bsd/node/out/Release/obj.target/v8_base.x64/deps/v8/src/platform-freebsd.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
gmake[1]: Leaving directory `/usr/home/bsd/node/out'
gmake: *** [node] Error 2
```
> It's obvious a mistype in ``deps/v8/src/platform-freebsd.cc``, at LINE 186:

> ``LOG(isolate SharedLibraryEvent(start_of_path, start, end));``

> which should be something like:

> ``LOG(isolate, SharedLibraryEvent(start_of_path, start, end));``

> A comma is missing here :-P.

> [related issue](https://code.google.com/p/v8/issues/detail?id=3011) in v8, which is fixed in [r18035](https://code.google.com/p/v8/source/detail?r=18035).

> If there is any plan to backport the patch, I really appreciate it.