aboutsummaryrefslogtreecommitdiffstats
path: root/testing/chromium/chromium-malloc.patch
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-11-24 13:19:01 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-11-24 13:19:26 -0600
commite3172f521768af3d349a22889229a0e9669de9c6 (patch)
tree17afc461941124d9c1721e009ac6f204cdf5daca /testing/chromium/chromium-malloc.patch
parent228431404d99b59b6d67e52d47fa88f3b8cdccb0 (diff)
downloadaports-e3172f521768af3d349a22889229a0e9669de9c6.tar.bz2
aports-e3172f521768af3d349a22889229a0e9669de9c6.tar.xz
testing/chromium: it builds (no promises other than that though)
Diffstat (limited to 'testing/chromium/chromium-malloc.patch')
-rw-r--r--testing/chromium/chromium-malloc.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/chromium/chromium-malloc.patch b/testing/chromium/chromium-malloc.patch
new file mode 100644
index 0000000000..2fe5bfda86
--- /dev/null
+++ b/testing/chromium/chromium-malloc.patch
@@ -0,0 +1,19 @@
+--- chromium-17.0.942.0.orig/base/process_util_linux.cc
++++ chromium-17.0.942.0/base/process_util_linux.cc
+@@ -640,7 +640,7 @@
+
+ extern "C" {
+ #if !defined(USE_TCMALLOC) && !defined(ADDRESS_SANITIZER) && \
+- !defined(OS_ANDROID)
++ !defined(OS_ANDROID) && !defined(__UCLIBC__)
+
+ extern "C" {
+ void* __libc_malloc(size_t size);
+@@ -700,6 +700,7 @@
+ OnNoMemorySize(size); \
+ return ret; \
+ }
++
+
+ DIE_ON_OOM_1(malloc)
+ DIE_ON_OOM_1(valloc)