summaryrefslogtreecommitdiffstats
path: root/testing/thunderbird/mozalloc_usable_size.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-12-01 13:35:06 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-12-01 13:35:06 +0000
commitf965f2b7a629ee40146703dfee005c5b22d5abca (patch)
treedb34ca7c42e4870477a6a5529a575752c9c2b7df /testing/thunderbird/mozalloc_usable_size.patch
parentf6568ddf3abe0dd3e7bb1ef5000bc478d4accbd7 (diff)
downloadaports-f965f2b7a629ee40146703dfee005c5b22d5abca.tar.bz2
aports-f965f2b7a629ee40146703dfee005c5b22d5abca.tar.xz
testing/thunderbird: new aport
Mozilla Thunderbird mail/newsgroup client http://www.mozilla.org/projects/thunderbird/
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 000000000..9b6740dce
--- /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);