diff options
author | William Pitcock <nenolod@dereferenced.org> | 2011-03-15 14:48:59 -0500 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-03-15 14:48:59 -0500 |
commit | 6793d228d302d048d6872e52360886ed1722408c (patch) | |
tree | 20ed7829fe66d6af9d1ee8fd3e5f459b722857f6 /testing/nodejs/nodejs-uclibc.patch | |
parent | 29c2454c60a1bb2e5cc858a836963d27fbf28430 (diff) | |
download | aports-6793d228d302d048d6872e52360886ed1722408c.tar.bz2 aports-6793d228d302d048d6872e52360886ed1722408c.tar.xz |
testing/nodejs: new aport, orphaned (no personal interest in this package)
Diffstat (limited to 'testing/nodejs/nodejs-uclibc.patch')
-rw-r--r-- | testing/nodejs/nodejs-uclibc.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/nodejs/nodejs-uclibc.patch b/testing/nodejs/nodejs-uclibc.patch new file mode 100644 index 000000000..68fadff06 --- /dev/null +++ b/testing/nodejs/nodejs-uclibc.patch @@ -0,0 +1,20 @@ +--- node-v0.4.2.orig/deps/v8/src/platform-linux.cc ++++ node-v0.4.2/deps/v8/src/platform-linux.cc +@@ -46,7 +46,7 @@ + #include <sys/stat.h> // open + #include <fcntl.h> // open + #include <unistd.h> // sysconf +-#ifdef __GLIBC__ ++#if defined(__GLIBC__) && !defined(__UCLIBC__) + #include <execinfo.h> // backtrace, backtrace_symbols + #endif // def __GLIBC__ + #include <strings.h> // index +@@ -447,7 +447,7 @@ + + int OS::StackWalk(Vector<OS::StackFrame> frames) { + // backtrace is a glibc extension. +-#ifdef __GLIBC__ ++#if defined(__GLIBC__) && !defined(__UCLIBC__) + int frames_size = frames.length(); + ScopedVector<void*> addresses(frames_size); + |