summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glib-2.0/glib-2.0/g_once_init_enter.patch
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2012-04-28 18:31:07 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-07 16:42:45 +0100
commit2dc824643ad9c9d111206d860479018cbe3d5f48 (patch)
tree5f940b53b7d75e74a0a1ef643be6840c31c691a9 /meta/recipes-core/glib-2.0/glib-2.0/g_once_init_enter.patch
parentfeee16b82800231d88ff91f60757b791d4f33d62 (diff)
downloadpoky-2dc824643ad9c9d111206d860479018cbe3d5f48.tar.gz
glib-2.0: upgrade to 2.32.1
* g_once_init_enter.patch shouldn't be needed after upstream commit 794c1a30bc27b4c8d77537813acb1213d5ac80f2 * LIC_FILES_CHKSUM change is only because PCRE was upgraded and now pcre.h says "Copyright (c) 1997-2012 University of Cambridge" instead of 2010 and COPYING file "Please see the file LICENCE in the PCRE distribution for licensing details." but LICENSE file is not part of glib distribution (but still BSD in standalone PCRE) (From OE-Core rev: 231a3e046900f8fae2e0aa4fe5f2bee4c290b0b0) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glib-2.0/glib-2.0/g_once_init_enter.patch')
-rw-r--r--meta/recipes-core/glib-2.0/glib-2.0/g_once_init_enter.patch24
1 files changed, 0 insertions, 24 deletions
diff --git a/meta/recipes-core/glib-2.0/glib-2.0/g_once_init_enter.patch b/meta/recipes-core/glib-2.0/glib-2.0/g_once_init_enter.patch
deleted file mode 100644
index 2eaa19b604..0000000000
--- a/meta/recipes-core/glib-2.0/glib-2.0/g_once_init_enter.patch
+++ /dev/null
@@ -1,24 +0,0 @@
1fix g_once_init_enter compile failure
2
3Kernelshark trips over a compile bug in glib-2.0 addressed by Open Embedded
4back in the 2.22 timeframe. It appears to still be present in 2.27.
5
6http://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg005
7
8Signed-off-by: Darren Hart <dvhart@linux.intel.com>
9
10Upstream-Status: Pending
11
12Index: glib-2.27.5/glib/gthread.h
13===================================================================
14--- glib-2.27.5.orig/glib/gthread.h
15+++ glib-2.27.5/glib/gthread.h
16@@ -344,7 +344,7 @@ void g_once_init_leav
17 G_INLINE_FUNC gboolean
18 g_once_init_enter (volatile gsize *value_location)
19 {
20- if G_LIKELY ((gpointer) g_atomic_pointer_get (value_location) != NULL)
21+ if G_LIKELY ((gpointer) g_atomic_pointer_get ((volatile gpointer *)value_location) != NULL)
22 return FALSE;
23 else
24 return g_once_init_enter_impl (value_location);