Ticket #13006: glib2-inline.2.patch
File glib2-inline.2.patch, 1.1 KB (added by afb@…, 17 years ago) |
---|
-
files/patch-glib_gutils.h.diff
4 4 #ifdef G_IMPLEMENT_INLINES 5 5 # define G_INLINE_FUNC 6 6 # undef G_CAN_INLINE 7 +#elif defined (__APPLE__) && !defined(GLIB_COMPILATION) && !defined(GOBJECT_COMPILATION)8 +# define G_INLINE_FUNC inline7 +#elif defined (__APPLE__) 8 +# define G_INLINE_FUNC static inline 9 9 #elif defined (__GNUC__) 10 10 # define G_INLINE_FUNC extern inline 11 11 #elif defined (G_CAN_INLINE) -
Portfile
5 5 name glib2 6 6 set my_name glib 7 7 version 2.14.2 8 revision 18 revision 2 9 9 set branch [join [lrange [split ${version} .] 0 1] .] 10 10 categories devel 11 11 maintainers ryandesign … … 77 77 78 78 platform darwin 9 { 79 79 patchfiles-append patch-glib_gutils.h.diff 80 configure.cflags-append -finline-functions81 80 } 82 81 83 82 livecheck.check regex