diff options
author | Richard Purdie <richard@openedhand.com> | 2006-07-06 07:42:46 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-07-06 07:42:46 +0000 |
commit | 0c5090c9bb40379698e6d54396442034155861c6 (patch) | |
tree | 31a393a61bcd393dd8979c0c6addb783c3fa11ea | |
parent | e1e63224d9bd7b25a18b435ee5b7e543368fe117 (diff) | |
download | poky-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
-rw-r--r-- | openembedded/packages/glib-2.0/files/atomic_fix.patch | 16 | ||||
-rw-r--r-- | openembedded/packages/glib-2.0/glib-2.0-native_2.10.3.bb | 4 | ||||
-rw-r--r-- | openembedded/packages/glib-2.0/glib-2.0_2.10.3.bb | 3 |
3 files changed, 21 insertions, 2 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 @@ | |||
1 | Index: 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 (); | ||
diff --git a/openembedded/packages/glib-2.0/glib-2.0-native_2.10.3.bb b/openembedded/packages/glib-2.0/glib-2.0-native_2.10.3.bb index d0a442eeef..402ec2d390 100644 --- a/openembedded/packages/glib-2.0/glib-2.0-native_2.10.3.bb +++ b/openembedded/packages/glib-2.0/glib-2.0-native_2.10.3.bb | |||
@@ -7,11 +7,13 @@ LICENSE = "LGPL" | |||
7 | SECTION = "libs" | 7 | SECTION = "libs" |
8 | PRIORITY = "optional" | 8 | PRIORITY = "optional" |
9 | DEPENDS += "gtk-doc-native" | 9 | DEPENDS += "gtk-doc-native" |
10 | PR="r1" | ||
10 | 11 | ||
11 | EXTRA_OECONF = "--disable-debug" | 12 | EXTRA_OECONF = "--disable-debug" |
12 | 13 | ||
13 | SRC_URI = "http://download.gnome.org/sources/glib/2.10//glib-${PV}.tar.bz2 \ | 14 | SRC_URI = "http://download.gnome.org/sources/glib/2.10//glib-${PV}.tar.bz2 \ |
14 | file://glib-gettextize-dir.patch;patch=1 \ | 15 | file://glib-gettextize-dir.patch;patch=1 \ |
16 | file://atomic_fix.patch;patch=1 \ | ||
15 | file://glibconfig-sysdefs.h" | 17 | file://glibconfig-sysdefs.h" |
16 | 18 | ||
17 | S = "${WORKDIR}/glib-${PV}" | 19 | S = "${WORKDIR}/glib-${PV}" |
diff --git a/openembedded/packages/glib-2.0/glib-2.0_2.10.3.bb b/openembedded/packages/glib-2.0/glib-2.0_2.10.3.bb index 1c887e0206..df0f3bd82c 100644 --- a/openembedded/packages/glib-2.0/glib-2.0_2.10.3.bb +++ b/openembedded/packages/glib-2.0/glib-2.0_2.10.3.bb | |||
@@ -9,7 +9,7 @@ PRIORITY = "optional" | |||
9 | DEPENDS += "glib-2.0-native gtk-doc" | 9 | DEPENDS += "glib-2.0-native gtk-doc" |
10 | DEPENDS += "virtual/libiconv virtual/libintl" | 10 | DEPENDS += "virtual/libiconv virtual/libintl" |
11 | PACKAGES =+ "glib-2.0-utils " | 11 | PACKAGES =+ "glib-2.0-utils " |
12 | PR = "r1" | 12 | PR = "r3" |
13 | 13 | ||
14 | LEAD_SONAME = "libglib-2.0.*" | 14 | LEAD_SONAME = "libglib-2.0.*" |
15 | FILES_glib-2.0-utils = "${bindir}/*" | 15 | FILES_glib-2.0-utils = "${bindir}/*" |
@@ -17,6 +17,7 @@ FILES_glib-2.0-utils = "${bindir}/*" | |||
17 | EXTRA_OECONF = "--disable-debug" | 17 | EXTRA_OECONF = "--disable-debug" |
18 | 18 | ||
19 | SRC_URI = "http://download.gnome.org/sources/glib/2.10//glib-${PV}.tar.bz2 \ | 19 | SRC_URI = "http://download.gnome.org/sources/glib/2.10//glib-${PV}.tar.bz2 \ |
20 | file://atomic_fix.patch;patch=1 \ | ||
20 | file://glibconfig-sysdefs.h" | 21 | file://glibconfig-sysdefs.h" |
21 | 22 | ||
22 | S = "${WORKDIR}/glib-${PV}" | 23 | S = "${WORKDIR}/glib-${PV}" |