summaryrefslogtreecommitdiff
path: root/net/ORBit2/patches
diff options
context:
space:
mode:
authortron <tron>2007-11-26 14:00:41 +0000
committertron <tron>2007-11-26 14:00:41 +0000
commit50ed83689281977c3d39b889a965810f905f2610 (patch)
tree1b1caa1617407cf03dbd51b759977d020bb39391 /net/ORBit2/patches
parentabf7923be0cdccf03471ece452518cb399309014 (diff)
downloadpkgsrc-50ed83689281977c3d39b889a965810f905f2610.tar.gz
Fix incorrect use of "glib2" inlining which breaks the build if C99
compliant inlining is used. This package builds again with the Mac OS X Leopard patch in the "glib2" package.
Diffstat (limited to 'net/ORBit2/patches')
-rw-r--r--net/ORBit2/patches/patch-ad17
1 files changed, 17 insertions, 0 deletions
diff --git a/net/ORBit2/patches/patch-ad b/net/ORBit2/patches/patch-ad
new file mode 100644
index 00000000000..181bf21e648
--- /dev/null
+++ b/net/ORBit2/patches/patch-ad
@@ -0,0 +1,17 @@
+$NetBSD: patch-ad,v 1.3 2007/11/26 14:00:41 tron Exp $
+
+--- include/orbit/GIOP/giop-endian.h.orig 2007-09-10 13:11:47.000000000 +0100
++++ include/orbit/GIOP/giop-endian.h 2007-11-26 13:48:57.000000000 +0000
+@@ -8,9 +8,9 @@
+ #ifdef ORBIT2_INTERNAL_API
+
+ /* This is also defined in IIOP-types.c */
+-void giop_byteswap(guchar *outdata,
+- const guchar *data,
+- gulong datalen);
++G_INLINE_FUNC void giop_byteswap(guchar *outdata,
++ const guchar *data,
++ gulong datalen);
+
+ #if defined(G_CAN_INLINE) && !defined(GIOP_DO_NOT_INLINE_IIOP_BYTESWAP)
+ G_INLINE_FUNC void giop_byteswap(guchar *outdata,