summaryrefslogtreecommitdiffstats
path: root/devel/ORBit2/files
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-06-17 13:38:50 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-06-17 13:38:50 +0800
commit72e7b90b3edaf3f4cdec5175a1611742b7d50faa (patch)
tree50a0d6d6dca19d974517948816b9611c9f24b906 /devel/ORBit2/files
parent4ac1b15e5b9e34584e192641bde3f00f8e375786 (diff)
downloadmarcuscom-ports-72e7b90b3edaf3f4cdec5175a1611742b7d50faa.tar
marcuscom-ports-72e7b90b3edaf3f4cdec5175a1611742b7d50faa.tar.gz
marcuscom-ports-72e7b90b3edaf3f4cdec5175a1611742b7d50faa.tar.bz2
marcuscom-ports-72e7b90b3edaf3f4cdec5175a1611742b7d50faa.tar.lz
marcuscom-ports-72e7b90b3edaf3f4cdec5175a1611742b7d50faa.tar.xz
marcuscom-ports-72e7b90b3edaf3f4cdec5175a1611742b7d50faa.tar.zst
marcuscom-ports-72e7b90b3edaf3f4cdec5175a1611742b7d50faa.zip
Add the ORBIT_SERVANT_SET_CLASSINFO symbol back to pacify applications
with old ORBit2 stubs. Obtained from: ORBit2 CVS git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@899 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/ORBit2/files')
-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) */
+