aboutsummaryrefslogtreecommitdiffstats
path: root/testing/thunderbird/mozalloc_usable_size.patch
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2011-12-05 15:33:18 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2011-12-05 15:33:18 +0000
commitf6497eb6a85c70359ec0705384ef310765d74e01 (patch)
treee3b3e314ca3f24f6d4ddb19e1669c1b524a4986a /testing/thunderbird/mozalloc_usable_size.patch
parent14fc1a279b6db9feaa893158e995b2ff89245e4c (diff)
parent94b1ce306a6b4a49812ef4468d163ff8f0100fc2 (diff)
downloadaports-f6497eb6a85c70359ec0705384ef310765d74e01.tar.bz2
aports-f6497eb6a85c70359ec0705384ef310765d74e01.tar.xz
Merge git://dev.alpinelinux.org/aports
Diffstat (limited to 'testing/thunderbird/mozalloc_usable_size.patch')
-rw-r--r--testing/thunderbird/mozalloc_usable_size.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/thunderbird/mozalloc_usable_size.patch b/testing/thunderbird/mozalloc_usable_size.patch
new file mode 100644
index 0000000000..9b6740dcee
--- /dev/null
+++ b/testing/thunderbird/mozalloc_usable_size.patch
@@ -0,0 +1,11 @@
+--- ./mozilla/memory/mozalloc/mozalloc.cpp.orig
++++ ./mozilla/memory/mozalloc/mozalloc.cpp
+@@ -266,7 +266,7 @@
+
+ #if defined(XP_MACOSX)
+ return malloc_size(ptr);
+-#elif defined(MOZ_MEMORY)
++#elif defined(MOZ_MEMORY) && !defined(__UCLIBC__)
+ return malloc_usable_size(ptr);
+ #elif defined(XP_WIN)
+ return _msize(ptr);