summaryrefslogtreecommitdiffstats
path: root/main/xulrunner
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-03-17 20:51:05 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2011-03-17 20:51:05 -0500
commit442e19f35604b902e2674dd546a4737028af4e95 (patch)
tree77e712afcb71487acf567a913e7cf7f5c3736c30 /main/xulrunner
parent56b3e818912ac0ccc294efea6fca3a5d07d19fd6 (diff)
downloadaports-442e19f35604b902e2674dd546a4737028af4e95.tar.bz2
aports-442e19f35604b902e2674dd546a4737028af4e95.tar.xz
main/xulrunner: add missing patch
Diffstat (limited to 'main/xulrunner')
-rw-r--r--main/xulrunner/xulrunner-mozalloc.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/xulrunner/xulrunner-mozalloc.patch b/main/xulrunner/xulrunner-mozalloc.patch
new file mode 100644
index 000000000..31027a23e
--- /dev/null
+++ b/main/xulrunner/xulrunner-mozalloc.patch
@@ -0,0 +1,11 @@
+--- mozilla-2.0.orig/memory/mozalloc/mozalloc.cpp
++++ mozilla-2.0/memory/mozalloc/mozalloc.cpp
+@@ -237,7 +237,7 @@
+ return 0;
+
+ #if defined(MOZ_MEMORY)
+- return malloc_usable_size(ptr);
++ return 0;
+ #elif defined(XP_MACOSX)
+ return malloc_size(ptr);
+ #elif defined(XP_WIN)