diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-26 22:21:04 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-26 22:22:59 +0000 |
commit | e4650554521c89f1f774bdd143b1359141091e15 (patch) | |
tree | 1b9a12209af70b90916182b405f01ac155264178 /experimental/firefox-esr/mallinfo.patch | |
parent | 954c88d73be84cad6a6cf0b3f2d71ae544190120 (diff) | |
download | packages-e4650554521c89f1f774bdd143b1359141091e15.tar.gz packages-e4650554521c89f1f774bdd143b1359141091e15.tar.bz2 packages-e4650554521c89f1f774bdd143b1359141091e15.tar.xz packages-e4650554521c89f1f774bdd143b1359141091e15.zip |
experimental/firefox-esr: add ESR 60, which does not work [https://bugzilla.mozilla.org/1499121]
Diffstat (limited to 'experimental/firefox-esr/mallinfo.patch')
-rw-r--r-- | experimental/firefox-esr/mallinfo.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/experimental/firefox-esr/mallinfo.patch b/experimental/firefox-esr/mallinfo.patch new file mode 100644 index 000000000..9959b52a4 --- /dev/null +++ b/experimental/firefox-esr/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__) \ |