Ticket #13160: orbit2-static.diff
File orbit2-static.diff, 1.5 KB (added by afb@…, 17 years ago) |
---|
-
Portfile
5 5 set my_name ORBit2 6 6 version 2.14.10 7 7 set branch [join [lrange [split ${version} .] 0 1] .] 8 revision 18 revision 2 9 9 description Code for an ORB written in C will spontaneously evolve here. 10 10 long_description Code for an ORB written in C will spontaneously \ 11 11 evolve here. … … 36 36 configure.cflags-append -DBIND_8_COMPAT=1 37 37 } 38 38 39 platform darwin 9 { 40 patchfiles-append patch-giop-endian.h 41 } 42 39 43 livecheck.check regex 40 44 livecheck.url http://ftp.gnome.org/pub/gnome/sources/${my_name}/${branch}/ 41 45 livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)} -
files/patch-giop-endian.h
1 --- ./include/orbit/GIOP/giop-endian.h.orig 2007-09-10 14:11:47.000000000 +0200 2 +++ ./include/orbit/GIOP/giop-endian.h 2007-11-08 01:13:09.000000000 +0100 3 @@ -7,10 +7,13 @@ G_BEGIN_DECLS 4 5 #ifdef ORBIT2_INTERNAL_API 6 7 +/* G_INLINE_FUNC declared as static inline, so can't declare as extern here */ 8 +#ifndef __APPLE__ 9 /* This is also defined in IIOP-types.c */ 10 void giop_byteswap(guchar *outdata, 11 const guchar *data, 12 gulong datalen); 13 +#endif 14 15 #if defined(G_CAN_INLINE) && !defined(GIOP_DO_NOT_INLINE_IIOP_BYTESWAP) 16 G_INLINE_FUNC void giop_byteswap(guchar *outdata,