summaryrefslogtreecommitdiff
path: root/packages/glib-2.0/files/atomic_fix.patch
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2007-09-23 00:38:29 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2007-09-23 00:38:29 +0000
commitefa3492c6eaa112592e4d835310cf6d18a849eae (patch)
tree576432fcac54aaa5a49102e1229d979ddf2c0ee9 /packages/glib-2.0/files/atomic_fix.patch
parent1c259e381f897d199abc66f6237aeb8542779468 (diff)
parente08f51149bd655e670114418f1f873d93d938fd2 (diff)
merge of '68c1dba00e182241b1e887487fb3c8271f9c0d01'
and '954ad99909199c0ef7c0d21819dce8c20cf40c64'
Diffstat (limited to 'packages/glib-2.0/files/atomic_fix.patch')
-rw-r--r--packages/glib-2.0/files/atomic_fix.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/glib-2.0/files/atomic_fix.patch b/packages/glib-2.0/files/atomic_fix.patch
new file mode 100644
index 0000000000..ddc7ada778
--- /dev/null
+++ b/packages/glib-2.0/files/atomic_fix.patch
@@ -0,0 +1,16 @@
+Index: glib-2.10.3/glib/gthread.c
+===================================================================
+--- glib-2.10.3.orig/glib/gthread.c 2005-12-01 16:34:26.000000000 +0000
++++ glib-2.10.3/glib/gthread.c 2006-07-06 08:17:18.000000000 +0100
+@@ -164,10 +164,10 @@
+ _g_messages_thread_init_nomessage ();
+
+ /* we may run full-fledged initializers from here */
++ _g_atomic_thread_init ();
+ _g_convert_thread_init ();
+ _g_rand_thread_init ();
+ _g_main_thread_init ();
+- _g_atomic_thread_init ();
+ _g_utils_thread_init ();
+ #ifdef G_OS_WIN32
+ _g_win32_thread_init ();