diff options
| author | Natanael Copa <ncopa@alpinelinux.org> | 2016-01-27 21:59:23 +0100 |
|---|---|---|
| committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-01-27 22:00:14 +0100 |
| commit | b6ec3093ed7642f42a824e0869f0b6ccac48d3a3 (patch) | |
| tree | 0883ef45a8b14a86ee796ad001d1af660678f54c /testing/firefox/mallinfo.patch | |
| parent | 8781ff2cb1dc3a1761db5ed1d9a320d6a57bba70 (diff) | |
| download | aports-b6ec3093ed7642f42a824e0869f0b6ccac48d3a3.tar.bz2 aports-b6ec3093ed7642f42a824e0869f0b6ccac48d3a3.tar.xz | |
testing/firefox: upgrade to 44.0
Diffstat (limited to 'testing/firefox/mallinfo.patch')
| -rw-r--r-- | testing/firefox/mallinfo.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/firefox/mallinfo.patch b/testing/firefox/mallinfo.patch new file mode 100644 index 0000000000..9959b52a4c --- /dev/null +++ b/testing/firefox/mallinfo.patch @@ -0,0 +1,20 @@ +diff --git a/xpcom/base/nsMemoryReporterManager.cpp b/xpcom/base/nsMemoryReporterManager.cpp +index 89ee563..eab8cd7 100644 +--- a/xpcom/base/nsMemoryReporterManager.cpp ++++ b/xpcom/base/nsMemoryReporterManager.cpp +@@ -153,6 +153,7 @@ ResidentUniqueDistinguishedAmount(int64_t* aN) + return GetProcSelfSmapsPrivate(aN); + } + ++#ifdef __GLIBC__ + #define HAVE_SYSTEM_HEAP_REPORTER 1 + nsresult + SystemHeapSize(int64_t* aSizeOut) +@@ -172,6 +173,7 @@ SystemHeapSize(int64_t* aSizeOut) + *aSizeOut = size_t(info.hblkhd) + size_t(info.uordblks); + return NS_OK; + } ++#endif + + #elif defined(__DragonFly__) || defined(__FreeBSD__) \ + || defined(__NetBSD__) || defined(__OpenBSD__) \ |
