summaryrefslogtreecommitdiff
path: root/packages/glib-2.0/glib-2.0-2.16.1/gcc-4.2-inline-fix.patch
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2008-03-21 23:54:15 +0000
committerMichael Lauer <mickey@vanille-media.de>2008-03-21 23:54:15 +0000
commit98cbb1de7c19b9822b091cd6f675950bdbb0ecea (patch)
treeed146a214ac4292ee687dec6749a6f4113d29995 /packages/glib-2.0/glib-2.0-2.16.1/gcc-4.2-inline-fix.patch
parent01009eb33cd0518969760724f08dd9b3400c748e (diff)
parent507f5c47f31dc102d925959788af4ae8ddb5f6c9 (diff)
merge of '048900e1dc1296a50f90bf6b77b7be816922e4ac'
and '8f046513c054e5ae4400145d7f5e0288953f7fab'
Diffstat (limited to 'packages/glib-2.0/glib-2.0-2.16.1/gcc-4.2-inline-fix.patch')
-rw-r--r--packages/glib-2.0/glib-2.0-2.16.1/gcc-4.2-inline-fix.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/glib-2.0/glib-2.0-2.16.1/gcc-4.2-inline-fix.patch b/packages/glib-2.0/glib-2.0-2.16.1/gcc-4.2-inline-fix.patch
new file mode 100644
index 0000000000..d6cbeeb8a4
--- /dev/null
+++ b/packages/glib-2.0/glib-2.0-2.16.1/gcc-4.2-inline-fix.patch
@@ -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