From 6793d228d302d048d6872e52360886ed1722408c Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Tue, 15 Mar 2011 14:48:59 -0500 Subject: testing/nodejs: new aport, orphaned (no personal interest in this package) --- testing/nodejs/nodejs-uclibc.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 testing/nodejs/nodejs-uclibc.patch (limited to 'testing/nodejs/nodejs-uclibc.patch') diff --git a/testing/nodejs/nodejs-uclibc.patch b/testing/nodejs/nodejs-uclibc.patch new file mode 100644 index 0000000000..68fadff06f --- /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 // open + #include // open + #include // sysconf +-#ifdef __GLIBC__ ++#if defined(__GLIBC__) && !defined(__UCLIBC__) + #include // backtrace, backtrace_symbols + #endif // def __GLIBC__ + #include // index +@@ -447,7 +447,7 @@ + + int OS::StackWalk(Vector frames) { + // backtrace is a glibc extension. +-#ifdef __GLIBC__ ++#if defined(__GLIBC__) && !defined(__UCLIBC__) + int frames_size = frames.length(); + ScopedVector addresses(frames_size); + -- cgit v1.2.3