summaryrefslogtreecommitdiff
path: root/www/node/files/patch-v8_platform-freebsd.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/node/files/patch-v8_platform-freebsd.cc')
-rw-r--r--www/node/files/patch-v8_platform-freebsd.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/node/files/patch-v8_platform-freebsd.cc b/www/node/files/patch-v8_platform-freebsd.cc
new file mode 100644
index 000000000000..ccef3517979f
--- /dev/null
+++ b/www/node/files/patch-v8_platform-freebsd.cc
@@ -0,0 +1,11 @@
+--- deps/v8/src/platform-freebsd.cc.orig 2010-05-18 11:11:48.000000000 +0800
++++ deps/v8/src/platform-freebsd.cc 2010-05-18 11:12:00.000000000 +0800
+@@ -290,7 +290,7 @@ int OS::StackWalk(Vector<OS::StackFrame>
+
+ int frames_count = backtrace(addresses.start(), frames_size);
+
+- char** symbols = backtrace_symbols(addresses, frames_count);
++ char** symbols = backtrace_symbols(addresses.start(), frames_count);
+ if (symbols == NULL) {
+ return kStackWalkError;
+ }