summaryrefslogtreecommitdiff
path: root/packages/glib-2.0/glib-2.0-2.16.1
diff options
context:
space:
mode:
authorPhilipp Zabel <philipp.zabel@gmail.com>2008-03-21 15:32:51 +0000
committerPhilipp Zabel <philipp.zabel@gmail.com>2008-03-21 15:32:51 +0000
commit9c6043280dda581f25c502be1c776babf4ec51f3 (patch)
treef523aa3b6deb00fe4e39635b99e11b89a8464b48 /packages/glib-2.0/glib-2.0-2.16.1
parent9e36ae107209a43916609aea9a39faa10a1331ad (diff)
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.
Diffstat (limited to 'packages/glib-2.0/glib-2.0-2.16.1')
-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