summaryrefslogtreecommitdiffstats
path: root/testing/nodejs/nodejs-uclibc.patch
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2011-12-10 10:15:38 +0000
committerFabian Affolter <fabian@affolter-engineering.ch>2011-12-10 10:15:38 +0000
commitca512d5d5d8df5cbacfb9e0b1cdc1f45ae89149b (patch)
tree38834d5f27c903ae902e897550053b499c26151d /testing/nodejs/nodejs-uclibc.patch
parent51f554c054599d345525bd9d816eb3009fb80cc4 (diff)
parent4fb67906a83bf64c28da07340367614cc32d0245 (diff)
downloadaports-ca512d5d5d8df5cbacfb9e0b1cdc1f45ae89149b.tar.bz2
aports-ca512d5d5d8df5cbacfb9e0b1cdc1f45ae89149b.tar.xz
Merge branch 'master' of git://git.alpinelinux.org/aports
Diffstat (limited to 'testing/nodejs/nodejs-uclibc.patch')
-rw-r--r--testing/nodejs/nodejs-uclibc.patch20
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);
+