slackbuilds_ponce/system/zfs-fuse/glibc-2.14.patch
Matteo Bernardini a095ad4809 system/zfs-fuse: Updated for version 20120201_6abfdcf.
Added a patch for glibc>=2.14

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
2012-09-24 22:53:31 -05:00

13 lines
447 B
Diff

diff --git a/src/lib/libumem/malloc.c b/src/lib/libumem/malloc.c
index 7eec207..5a4d763 100644
--- a/src/lib/libumem/malloc.c
+++ b/src/lib/libumem/malloc.c
@@ -453,7 +453,7 @@ static void __attribute__((constructor)) umem_malloc_init_hook(void)
}
}
-void (*__malloc_initialize_hook)(void) = umem_malloc_init_hook;
+void (* __volatile __malloc_initialize_hook)(void) = umem_malloc_init_hook;
#else
void __attribute__((constructor))