glib-2.0_2.23.6: rediffed and reenabled atomic-thumb.patch
authorMartin Jansa <Martin.Jansa@gmail.com>
Fri, 26 Mar 2010 10:46:45 +0000 (11:46 +0100)
committerMartin Jansa <Martin.Jansa@gmail.com>
Fri, 26 Mar 2010 12:05:53 +0000 (13:05 +0100)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
recipes/glib-2.0/glib-2.0-2.23.6/atomic-thumb.patch
recipes/glib-2.0/glib-2.0_2.23.6.bb

index d7aa088..3c14fd0 100644 (file)
@@ -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
  
index d1e21a4..4f717b0 100644 (file)
@@ -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"