summaryrefslogtreecommitdiff
path: root/package/firefox/patches/patch-tools_profiler_platform-linux_cc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-17 13:58:23 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-17 13:58:23 +0200
commitf043b8522e55308488448593bb4997614732a30a (patch)
tree10eb6f5cf5a0f5aeebe278a518fecbea826843c6 /package/firefox/patches/patch-tools_profiler_platform-linux_cc
parent0e9ca8afb6da39fea0555d5882e8eb293c3efb62 (diff)
fix uClibc build
Diffstat (limited to 'package/firefox/patches/patch-tools_profiler_platform-linux_cc')
-rw-r--r--package/firefox/patches/patch-tools_profiler_platform-linux_cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/firefox/patches/patch-tools_profiler_platform-linux_cc b/package/firefox/patches/patch-tools_profiler_platform-linux_cc
new file mode 100644
index 000000000..10287f11c
--- /dev/null
+++ b/package/firefox/patches/patch-tools_profiler_platform-linux_cc
@@ -0,0 +1,11 @@
+--- mozilla-release.orig/tools/profiler/platform-linux.cc 2013-09-11 01:15:26.000000000 +0200
++++ mozilla-release/tools/profiler/platform-linux.cc 2013-10-16 10:09:54.000000000 +0200
+@@ -53,7 +53,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