[oe-commits] org.oe.dev glib-2.0-2.16.1: apply the gcc-4.2-inline-fix again
pH5 commit
oe at amethyst.openembedded.net
Fri Mar 21 15:55:13 UTC 2008
glib-2.0-2.16.1: apply the gcc-4.2-inline-fix again
* it's supposedly applied upstream, but it doesn't work:
s/__GNUC_STDC_INLINE__/__GNUC_GNU_INLINE__/ makes the difference.
Author: pH5 at openembedded.org
Branch: org.openembedded.dev
Revision: f1f02c875914c0bfe542289381d12559c4843ff7
ViewMTN: http://monotone.openembedded.org/revision/info/f1f02c875914c0bfe542289381d12559c4843ff7
Files:
1
packages/glib-2.0/glib-2.0-2.16.1/gcc-4.2-inline-fix.patch
packages/glib-2.0/glib-2.0_2.16.1.bb
Diffs:
#
# mt diff -r7f033f9df10bbc41a4de8b88f933a2c2cd78a4b1 -rf1f02c875914c0bfe542289381d12559c4843ff7
#
#
#
# add_file "packages/glib-2.0/glib-2.0-2.16.1/gcc-4.2-inline-fix.patch"
# content [d73ea33ce170fe68af071185f13fa2c5b6c19775]
#
# patch "packages/glib-2.0/glib-2.0_2.16.1.bb"
# from [4630fa709394cd8074197afb37aaa2348f462950]
# to [d529224930628fa212035aa5d6d59d7868e6caf4]
#
============================================================
--- packages/glib-2.0/glib-2.0-2.16.1/gcc-4.2-inline-fix.patch d73ea33ce170fe68af071185f13fa2c5b6c19775
+++ packages/glib-2.0/glib-2.0-2.16.1/gcc-4.2-inline-fix.patch d73ea33ce170fe68af071185f13fa2c5b6c19775
@@ -0,0 +1,13 @@
+Index: glib-2.16.1/glib/gutils.h
+===================================================================
+--- glib-2.16.1.orig/glib/gutils.h 2008-03-21 16:18:57.000000000 +0100
++++ glib-2.16.1/glib/gutils.h 2008-03-21 16:19:09.000000000 +0100
+@@ -97,7 +97,7 @@
+ # define G_INLINE_FUNC
+ # undef G_CAN_INLINE
+ #elif defined (__GNUC__)
+-# ifdef __GNUC_STDC_INLINE__
++# ifdef __GNUC_GNU_INLINE__
+ # define G_INLINE_FUNC extern inline __attribute__ ((__gnu_inline__))
+ # else
+ # define G_INLINE_FUNC extern inline
============================================================
--- packages/glib-2.0/glib-2.0_2.16.1.bb 4630fa709394cd8074197afb37aaa2348f462950
+++ packages/glib-2.0/glib-2.0_2.16.1.bb d529224930628fa212035aa5d6d59d7868e6caf4
@@ -3,4 +3,5 @@ SRC_URI = "http://ftp.gnome.org/pub/GNOM
SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/glib/2.16/glib-${PV}.tar.bz2 \
file://glibconfig-sysdefs.h \
file://configure-libtool.patch;patch=1 \
+ file://gcc-4.2-inline-fix.patch;patch=1 \
"
More information about the Openembedded-commits
mailing list