diff options
Diffstat (limited to 'net/ORBit2/patches/patch-ac')
-rw-r--r-- | net/ORBit2/patches/patch-ac | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/net/ORBit2/patches/patch-ac b/net/ORBit2/patches/patch-ac deleted file mode 100644 index 55a4284baba..00000000000 --- a/net/ORBit2/patches/patch-ac +++ /dev/null @@ -1,34 +0,0 @@ -$NetBSD: patch-ac,v 1.1 2007/02/20 15:08:59 rillig Exp $ - -http://bugzilla.gnome.org/show_bug.cgi?id=410002 - ---- src/orb/dynamic/dynany.c.orig Mon Jan 1 18:01:32 2007 -+++ src/orb/dynamic/dynany.c Tue Feb 20 08:12:45 2007 -@@ -104,6 +104,9 @@ - case CORBA_tk_TypeCode: \ - case CORBA_tk_Principal - -+#define PTR_PLUS(ptr, offset) \ -+ ((gpointer) (((guchar *)(ptr)) + (offset))) -+ - /* FIXME: ported very quickly from stable */ - struct DynamicAny_DynAny_type { - struct ORBit_RootObject_struct parent; -@@ -1422,7 +1425,7 @@ - (CORBA_Object) subtc, ev); - to = any->_value = ORBit_alloc_by_tc (subtc); - offset = ALIGN_VALUE (offset, subtc->c_align); -- tmpsrc = src + offset; -+ tmpsrc = PTR_PLUS (src, offset); - ORBit_copy_value_core (&tmpsrc, &to, subtc); - offset += ORBit_gather_alloc_info (subtc); - } -@@ -1486,7 +1489,7 @@ - gpointer tmpdest; - - offset = ALIGN_VALUE (offset, subtc->c_align); -- tmpdest = dest + offset; -+ tmpdest = PTR_PLUS (dest, offset); - ORBit_copy_value_core (&src, &tmpdest, subtc); - offset += ORBit_gather_alloc_info (subtc); - } |