diff options
author | tron <tron@pkgsrc.org> | 2007-11-26 00:26:21 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2007-11-26 00:26:21 +0000 |
commit | 4425eab19161225aadfc2989ac9c5f5ddad1b70d (patch) | |
tree | eec613f1d9db0cb89db2d48e7dd7076d52f39225 /devel/glib2/patches | |
parent | 967750feeb812c79898bb739e670fe76af3f3e94 (diff) | |
download | pkgsrc-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-ag | 13 |
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) |