mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
a095ad4809
Added a patch for glibc>=2.14 Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
13 lines
447 B
Diff
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))
|