summaryrefslogtreecommitdiff
path: root/net/ORBit2/patches/patch-ad
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2007-11-26 14:00:41 +0000
committertron <tron@pkgsrc.org>2007-11-26 14:00:41 +0000
commitc6c5c2b0f75a8dbf6a519214132fa9f4679445a5 (patch)
tree1b1caa1617407cf03dbd51b759977d020bb39391 /net/ORBit2/patches/patch-ad
parent5fa30b027447444a2ce159d84ffb81668a4c286c (diff)
downloadpkgsrc-c6c5c2b0f75a8dbf6a519214132fa9f4679445a5.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/patch-ad')
-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,