summaryrefslogtreecommitdiffstats
path: root/devel/ORBit2/files/patch-include_orbit_poa_poa.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ORBit2/files/patch-include_orbit_poa_poa.h')
-rw-r--r--devel/ORBit2/files/patch-include_orbit_poa_poa.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/devel/ORBit2/files/patch-include_orbit_poa_poa.h b/devel/ORBit2/files/patch-include_orbit_poa_poa.h
new file mode 100644
index 000000000..2a0d6d989
--- /dev/null
+++ b/devel/ORBit2/files/patch-include_orbit_poa_poa.h
@@ -0,0 +1,12 @@
+--- include/orbit/poa/poa.h.orig Tue Jun 17 01:34:57 2003
++++ include/orbit/poa/poa.h Tue Jun 17 01:35:58 2003
+@@ -143,6 +143,9 @@
+
+ /* DEPRECATED */
+ void ORBit_classinfo_register (PortableServer_ClassInfo *ci);
++#define ORBIT_SERVANT_SET_CLASSINFO(servant,ci) G_STMT_START { \
++ ((PortableServer_ServantBase *)(servant))->vepv[0]->_private = (ci);\
++} G_STMT_END
+
+ #endif /* defined(ORBIT2_INTERNAL_API) || defined (ORBIT2_STUBS_API) */
+