Ticket #13160: orbit2-static.diff

File orbit2-static.diff, 1.5 KB (added by afb@…, 17 years ago)
  • Portfile

     
    55set my_name ORBit2
    66version         2.14.10
    77set branch  [join [lrange [split ${version} .] 0 1] .]
    8 revision    1
     8revision    2
    99description     Code for an ORB written in C will spontaneously evolve here.
    1010long_description        Code for an ORB written in C will spontaneously \
    1111                        evolve here.
     
    3636        configure.cflags-append -DBIND_8_COMPAT=1
    3737}
    3838
     39platform darwin 9 {
     40        patchfiles-append patch-giop-endian.h
     41}
     42
    3943livecheck.check regex
    4044livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${my_name}/${branch}/
    4145livecheck.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,