aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/glib-2.0
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2010-03-26 11:46:45 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2010-03-26 13:05:53 +0100
commit426dcf14aa78ed198427634355c7ad477d358ed6 (patch)
tree685c326038809412c147693f0a61037e13ee4951 /recipes/glib-2.0
parent1fada4c444e4eb49c81c8d54e0de4256dc0f7125 (diff)
downloadopenembedded-426dcf14aa78ed198427634355c7ad477d358ed6.tar.gz
glib-2.0_2.23.6: rediffed and reenabled atomic-thumb.patch
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes/glib-2.0')
-rw-r--r--recipes/glib-2.0/glib-2.0-2.23.6/atomic-thumb.patch21
-rw-r--r--recipes/glib-2.0/glib-2.0_2.23.6.bb5
2 files changed, 12 insertions, 14 deletions
diff --git a/recipes/glib-2.0/glib-2.0-2.23.6/atomic-thumb.patch b/recipes/glib-2.0/glib-2.0-2.23.6/atomic-thumb.patch
index d7aa08821f..3c14fd048c 100644
--- a/recipes/glib-2.0/glib-2.0-2.23.6/atomic-thumb.patch
+++ b/recipes/glib-2.0/glib-2.0-2.23.6/atomic-thumb.patch
@@ -1,11 +1,10 @@
# gatomic.c uses SWP, which doesn't work in Thumb mode.
# Put that source file into a separate convenience library which is always built as ARM.
-Index: glib-2.18.1/glib/Makefile.am
-===================================================================
---- glib-2.18.1/glib/Makefile.am 2008-09-18 00:33:57.000000000 +0200
-+++ glib-2.18.1/glib/Makefile.am 2008-11-08 10:13:27.000000000 +0100
-@@ -80,6 +80,7 @@
+diff -uNr glib-2.23.6.orig//glib/Makefile.am glib-2.23.6/glib/Makefile.am
+--- glib-2.23.6.orig//glib/Makefile.am 2010-03-21 19:05:08.000000000 +0100
++++ glib-2.23.6/glib/Makefile.am 2010-03-26 11:52:49.000000000 +0100
+@@ -87,6 +87,7 @@
galiasdef.c
lib_LTLIBRARIES = libglib-2.0.la
@@ -13,23 +12,23 @@ Index: glib-2.18.1/glib/Makefile.am
if OS_WIN32_AND_DLL_COMPILATION
if MS_LIB_AVAILABLE
-@@ -96,10 +97,14 @@
+@@ -103,10 +104,14 @@
uninstall-ms-lib:
$(uninstall_ms_lib_cmd)
+libgatomic_la_CFLAGS = $(CFLAGS) -mno-thumb
+
+libgatomic_la_SOURCES = \
-+ gatomic.c
-+
++ ${gatomic_c}
++
libglib_2_0_la_SOURCES = \
garray.c \
gasyncqueue.c \
-- gatomic.c \
+- $(gatomic_c) \
gbacktrace.c \
gbase64.c \
- gbookmarkfile.c \
-@@ -286,8 +291,8 @@
+ gbitlock.c \
+@@ -315,8 +320,8 @@
pcre_inc =
endif
diff --git a/recipes/glib-2.0/glib-2.0_2.23.6.bb b/recipes/glib-2.0/glib-2.0_2.23.6.bb
index d1e21a461f..4f717b0cf1 100644
--- a/recipes/glib-2.0/glib-2.0_2.23.6.bb
+++ b/recipes/glib-2.0/glib-2.0_2.23.6.bb
@@ -7,6 +7,7 @@ LICENSE = "LGPL"
SECTION = "libs"
PRIORITY = "optional"
DEPENDS = "glib-2.0-native gtk-doc virtual/libiconv virtual/libintl"
+PR = "r1"
SRC_URI = "\
http://ftp.gnome.org/pub/GNOME/sources/glib/2.23/glib-${PV}.tar.bz2;name=archive \
@@ -17,9 +18,7 @@ SRC_URI = "\
SRC_URI[archive.md5sum] = "72e6eadc16d7022376ecef12c6fe905e"
SRC_URI[archive.sha256sum] = "f91840e27ad4cd48e655a6babed7e2024f86814f94961da88ca2adba447c6e77"
-# This needs to get rediffed for this glib-2.0 version
-#SRC_URI_append_arm = " file://atomic-thumb.patch;patch=1"
-
+SRC_URI_append_arm = " file://atomic-thumb.patch;patch=1"
SRC_URI_append_armv6 = " file://gatomic_armv6.patch;patch=1"
SRC_URI_append_armv7a = " file://gatomic_armv6.patch;patch=1"