summaryrefslogtreecommitdiff
path: root/devel/glib2/patches
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2007-11-26 00:26:21 +0000
committertron <tron@pkgsrc.org>2007-11-26 00:26:21 +0000
commit4425eab19161225aadfc2989ac9c5f5ddad1b70d (patch)
treeeec613f1d9db0cb89db2d48e7dd7076d52f39225 /devel/glib2/patches
parent967750feeb812c79898bb739e670fe76af3f3e94 (diff)
downloadpkgsrc-4425eab19161225aadfc2989ac9c5f5ddad1b70d.tar.gz
Use patch from MacPorts to fix build problem under Mac OS X Leopard.
Diffstat (limited to 'devel/glib2/patches')
-rw-r--r--devel/glib2/patches/patch-ag13
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/glib2/patches/patch-ag b/devel/glib2/patches/patch-ag
new file mode 100644
index 00000000000..c95e2c55c42
--- /dev/null
+++ b/devel/glib2/patches/patch-ag
@@ -0,0 +1,13 @@
+$NetBSD: patch-ag,v 1.13 2007/11/26 00:26:22 tron Exp $
+
+--- glib/gutils.h.orig 2007-11-07 05:11:58.000000000 +0000
++++ glib/gutils.h 2007-11-25 23:54:06.000000000 +0000
+@@ -96,6 +96,8 @@
+ #ifdef G_IMPLEMENT_INLINES
+ # define G_INLINE_FUNC
+ # undef G_CAN_INLINE
++#elif defined (__APPLE__)
++# define G_INLINE_FUNC static inline
+ #elif defined (__GNUC__)
+ # define G_INLINE_FUNC extern inline
+ #elif defined (G_CAN_INLINE)