[30871] trunk/dports/devel/orbit2

source_changes at macosforge.org source_changes at macosforge.org
Fri Nov 9 00:59:14 PST 2007


Revision: 30871
          http://trac.macosforge.org/projects/macports/changeset/30871
Author:   afb at macports.org
Date:     2007-11-09 00:59:14 -0800 (Fri, 09 Nov 2007)

Log Message:
-----------
extern inline patch, matching glib2 workaround (#13160)

Modified Paths:
--------------
    trunk/dports/devel/orbit2/Portfile

Added Paths:
-----------
    trunk/dports/devel/orbit2/files/
    trunk/dports/devel/orbit2/files/patch-giop-endian.h

Modified: trunk/dports/devel/orbit2/Portfile
===================================================================
--- trunk/dports/devel/orbit2/Portfile	2007-11-09 08:39:40 UTC (rev 30870)
+++ trunk/dports/devel/orbit2/Portfile	2007-11-09 08:59:14 UTC (rev 30871)
@@ -5,7 +5,7 @@
 set my_name ORBit2
 version		2.14.10
 set branch  [join [lrange [split ${version} .] 0 1] .]
-revision    1
+revision    2
 description	Code for an ORB written in C will spontaneously evolve here.
 long_description        Code for an ORB written in C will spontaneously \
 			evolve here.
@@ -36,6 +36,10 @@
 	configure.cflags-append	-DBIND_8_COMPAT=1
 }
 
+platform darwin 9 {
+	patchfiles-append patch-giop-endian.h
+}
+
 livecheck.check regex
 livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${my_name}/${branch}/
 livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}

Added: trunk/dports/devel/orbit2/files/patch-giop-endian.h
===================================================================
--- trunk/dports/devel/orbit2/files/patch-giop-endian.h	                        (rev 0)
+++ trunk/dports/devel/orbit2/files/patch-giop-endian.h	2007-11-09 08:59:14 UTC (rev 30871)
@@ -0,0 +1,16 @@
+--- ./include/orbit/GIOP/giop-endian.h.orig	2007-09-10 14:11:47.000000000 +0200
++++ ./include/orbit/GIOP/giop-endian.h	2007-11-08 01:13:09.000000000 +0100
+@@ -7,10 +7,13 @@ G_BEGIN_DECLS
+ 
+ #ifdef ORBIT2_INTERNAL_API
+ 
++/* G_INLINE_FUNC declared as static inline, so can't declare as extern here */
++#ifndef __APPLE__
+ /* This is also defined in IIOP-types.c */
+ void giop_byteswap(guchar *outdata,
+ 		   const guchar *data,
+ 		   gulong datalen);
++#endif
+ 
+ #if defined(G_CAN_INLINE) && !defined(GIOP_DO_NOT_INLINE_IIOP_BYTESWAP)
+ G_INLINE_FUNC void giop_byteswap(guchar *outdata,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071109/37b873bd/attachment.html


More information about the macports-changes mailing list