summaryrefslogtreecommitdiff
path: root/repo/util/lvm2/mallinfo.patch
diff options
context:
space:
mode:
Diffstat (limited to 'repo/util/lvm2/mallinfo.patch')
-rw-r--r--repo/util/lvm2/mallinfo.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/repo/util/lvm2/mallinfo.patch b/repo/util/lvm2/mallinfo.patch
new file mode 100644
index 0000000..471a6b2
--- /dev/null
+++ b/repo/util/lvm2/mallinfo.patch
@@ -0,0 +1,11 @@
+--- ./lib/mm/memlock.c.orig 2015-03-09 11:18:41.560028850 -0100
++++ ./lib/mm/memlock.c 2015-03-09 11:19:54.504373309 -0100
+@@ -137,7 +137,7 @@
+
+ static void _allocate_memory(void)
+ {
+-#ifndef VALGRIND_POOL
++#if !defined(VALGRIND_POOL) && defined(__GLIBC__)
+ void *stack_mem;
+ struct rlimit limit;
+ int i, area = 0, missing = _size_malloc_tmp, max_areas = 32, hblks;