diff options
author | tron <tron> | 2007-11-26 14:00:41 +0000 |
---|---|---|
committer | tron <tron> | 2007-11-26 14:00:41 +0000 |
commit | 50ed83689281977c3d39b889a965810f905f2610 (patch) | |
tree | 1b1caa1617407cf03dbd51b759977d020bb39391 /net/ORBit2/patches | |
parent | abf7923be0cdccf03471ece452518cb399309014 (diff) | |
download | pkgsrc-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-ad | 17 |
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, |