aboutsummaryrefslogtreecommitdiffstats
path: root/testing/seamonkey/fix-mallinfo.patch
diff options
context:
space:
mode:
authorMarc Vertes <marc.vertes@ugrid.net>2016-03-18 21:21:39 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-22 10:58:57 +0200
commit3ab89df0030d905def63177ebc928ec23494fcfe (patch)
treea24ba99ed3f342d747f8df79a1b65d480c801e5c /testing/seamonkey/fix-mallinfo.patch
parentf90c15a50a5cefedf36bd7c043d5069b3652c092 (diff)
downloadaports-3ab89df0030d905def63177ebc928ec23494fcfe.tar.bz2
aports-3ab89df0030d905def63177ebc928ec23494fcfe.tar.xz
testing/seamonkey: new aport
http://www.seamonkey-project.org
Diffstat (limited to 'testing/seamonkey/fix-mallinfo.patch')
-rw-r--r--testing/seamonkey/fix-mallinfo.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/seamonkey/fix-mallinfo.patch b/testing/seamonkey/fix-mallinfo.patch
new file mode 100644
index 0000000000..4f6d91f648
--- /dev/null
+++ b/testing/seamonkey/fix-mallinfo.patch
@@ -0,0 +1,18 @@
+--- seamonkey-2.40/mozilla/xpcom/base/nsMemoryReporterManager.cpp.orig
++++ seamonkey-2.40/mozilla/xpcom/base/nsMemoryReporterManager.cpp
+@@ -176,6 +176,7 @@
+ };
+ NS_IMPL_ISUPPORTS(ResidentUniqueReporter, nsIMemoryReporter)
+
++#ifdef __GLIBC__
+ #define HAVE_SYSTEM_HEAP_REPORTER 1
+ nsresult
+ SystemHeapSize(int64_t* aSizeOut)
+@@ -195,6 +196,7 @@
+ *aSizeOut = size_t(info.hblkhd) + size_t(info.uordblks);
+ return NS_OK;
+ }
++#endif
+
+ #elif defined(__DragonFly__) || defined(__FreeBSD__) \
+ || defined(__NetBSD__) || defined(__OpenBSD__) \