summaryrefslogtreecommitdiff
path: root/user/prosody/mallinfo.patch
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-10-09 17:03:32 -0500
committerKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-10-09 21:37:43 -0500
commitcef60d848566b56692a9604df7c4e53c8b5605c6 (patch)
treee268762465cb0e967a52f3c9fb046616ef674e8a /user/prosody/mallinfo.patch
parent5b5c7a6c1cdb7f83682201c8521c31e7e35ce6db (diff)
downloadpackages-cef60d848566b56692a9604df7c4e53c8b5605c6.tar.gz
packages-cef60d848566b56692a9604df7c4e53c8b5605c6.tar.bz2
packages-cef60d848566b56692a9604df7c4e53c8b5605c6.tar.xz
packages-cef60d848566b56692a9604df7c4e53c8b5605c6.zip
user/prosody: new package
Diffstat (limited to 'user/prosody/mallinfo.patch')
-rw-r--r--user/prosody/mallinfo.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/user/prosody/mallinfo.patch b/user/prosody/mallinfo.patch
new file mode 100644
index 000000000..4f9247c9b
--- /dev/null
+++ b/user/prosody/mallinfo.patch
@@ -0,0 +1,13 @@
+diff --git a/util-src/pposix.c b/util-src/pposix.c
+index e70a9d7..b9729ab 100644
+--- a/util-src/pposix.c
++++ b/util-src/pposix.c
+@@ -52,7 +52,7 @@
+ #include <linux/falloc.h>
+ #endif
+
+-#if !defined(WITHOUT_MALLINFO) && defined(__linux__)
++#ifdef __GLIBC__
+ #include <malloc.h>
+ #define WITH_MALLINFO
+ #endif