diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-26 21:27:57 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-26 21:27:57 -0500 |
commit | 104e540fe2f63e78b86a61cb41e3ecb2f5451d65 (patch) | |
tree | e82d6599be3c39a68026ae3e3adc018348a6c17d /user/firefox-esr/mallinfo.patch | |
parent | c2fa058ba2ced4f6780e42495aebc02869b2ddf8 (diff) | |
download | packages-104e540fe2f63e78b86a61cb41e3ecb2f5451d65.tar.gz packages-104e540fe2f63e78b86a61cb41e3ecb2f5451d65.tar.bz2 packages-104e540fe2f63e78b86a61cb41e3ecb2f5451d65.tar.xz packages-104e540fe2f63e78b86a61cb41e3ecb2f5451d65.zip |
user/firefox-esr: I present Adélie's worst APKBUILD
Diffstat (limited to 'user/firefox-esr/mallinfo.patch')
-rw-r--r-- | user/firefox-esr/mallinfo.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/user/firefox-esr/mallinfo.patch b/user/firefox-esr/mallinfo.patch new file mode 100644 index 000000000..9959b52a4 --- /dev/null +++ b/user/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__) \ |