aboutsummaryrefslogtreecommitdiff
path: root/system/zfs-fuse/glibc-2.14.patch
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-23 18:24:36 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-09-24 22:53:31 -0500
commita095ad4809fa6f1494464982c0605d0c2abaf70c (patch)
tree8229d3664f0687e7b8790e4677f364e91366d632 /system/zfs-fuse/glibc-2.14.patch
parentce3950f8bd373932f10584519d91491b6a485a48 (diff)
system/zfs-fuse: Updated for version 20120201_6abfdcf.
Added a patch for glibc>=2.14 Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
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 000000000000..89345033ffb3
--- /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))