summaryrefslogtreecommitdiffstats
path: root/openembedded/packages/glib-2.0/files/atomic_fix.patch
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-07-06 07:42:46 +0000
committerRichard Purdie <richard@openedhand.com>2006-07-06 07:42:46 +0000
commit0c5090c9bb40379698e6d54396442034155861c6 (patch)
tree31a393a61bcd393dd8979c0c6addb783c3fa11ea /openembedded/packages/glib-2.0/files/atomic_fix.patch
parente1e63224d9bd7b25a18b435ee5b7e543368fe117 (diff)
downloadpoky-0c5090c9bb40379698e6d54396442034155861c6.tar.gz
glib 2.10: Init gatomic before gconvert, fixing crashes on ARM
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@505 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/glib-2.0/files/atomic_fix.patch')
-rw-r--r--openembedded/packages/glib-2.0/files/atomic_fix.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/openembedded/packages/glib-2.0/files/atomic_fix.patch b/openembedded/packages/glib-2.0/files/atomic_fix.patch
new file mode 100644
index 0000000000..ddc7ada778
--- /dev/null
+++ b/openembedded/packages/glib-2.0/files/atomic_fix.patch
@@ -0,0 +1,16 @@
1Index: glib-2.10.3/glib/gthread.c
2===================================================================
3--- glib-2.10.3.orig/glib/gthread.c 2005-12-01 16:34:26.000000000 +0000
4+++ glib-2.10.3/glib/gthread.c 2006-07-06 08:17:18.000000000 +0100
5@@ -164,10 +164,10 @@
6 _g_messages_thread_init_nomessage ();
7
8 /* we may run full-fledged initializers from here */
9+ _g_atomic_thread_init ();
10 _g_convert_thread_init ();
11 _g_rand_thread_init ();
12 _g_main_thread_init ();
13- _g_atomic_thread_init ();
14 _g_utils_thread_init ();
15 #ifdef G_OS_WIN32
16 _g_win32_thread_init ();