summaryrefslogtreecommitdiffstats
path: root/testing/thunderbird/mozalloc_usable_size.patch
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2011-12-10 10:15:38 +0000
committerFabian Affolter <fabian@affolter-engineering.ch>2011-12-10 10:15:38 +0000
commitca512d5d5d8df5cbacfb9e0b1cdc1f45ae89149b (patch)
tree38834d5f27c903ae902e897550053b499c26151d /testing/thunderbird/mozalloc_usable_size.patch
parent51f554c054599d345525bd9d816eb3009fb80cc4 (diff)
parent4fb67906a83bf64c28da07340367614cc32d0245 (diff)
downloadaports-ca512d5d5d8df5cbacfb9e0b1cdc1f45ae89149b.tar.bz2
aports-ca512d5d5d8df5cbacfb9e0b1cdc1f45ae89149b.tar.xz
Merge branch 'master' of git://git.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 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);