From 8888d32953c87b4fc8afce8426ee966edf33f7a3 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Thu, 1 Apr 2010 10:25:15 +0200 Subject: glib 2.0: add 2.24.0 --- recipes/glib-2.0/glib-2.0-2.24.0/g_once_init_enter.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 recipes/glib-2.0/glib-2.0-2.24.0/g_once_init_enter.patch (limited to 'recipes/glib-2.0/glib-2.0-2.24.0/g_once_init_enter.patch') diff --git a/recipes/glib-2.0/glib-2.0-2.24.0/g_once_init_enter.patch b/recipes/glib-2.0/glib-2.0-2.24.0/g_once_init_enter.patch new file mode 100644 index 0000000000..58e410884f --- /dev/null +++ b/recipes/glib-2.0/glib-2.0-2.24.0/g_once_init_enter.patch @@ -0,0 +1,11 @@ +--- glib-2.22.1/glib/gthread.h.orig 2009-10-13 22:53:23.000000000 +0200 ++++ glib-2.22.1/glib/gthread.h 2009-10-13 23:34:59.000000000 +0200 +@@ -341,7 +341,7 @@ + G_INLINE_FUNC gboolean + g_once_init_enter (volatile gsize *value_location) + { +- if G_LIKELY ((gpointer) g_atomic_pointer_get (value_location) != NULL) ++ if G_LIKELY ((gpointer) g_atomic_pointer_get ((volatile gpointer *)value_location) != NULL) + return FALSE; + else + return g_once_init_enter_impl (value_location); -- cgit v1.2.3