summaryrefslogtreecommitdiffstats
path: root/system/zfs-fuse/glibc-2.14.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/zfs-fuse/glibc-2.14.patch')
-rw-r--r--system/zfs-fuse/glibc-2.14.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/system/zfs-fuse/glibc-2.14.patch b/system/zfs-fuse/glibc-2.14.patch
new file mode 100644
index 0000000000..89345033ff
--- /dev/null
+++ b/system/zfs-fuse/glibc-2.14.patch
@@ -0,0 +1,13 @@
+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))