From 72e7b90b3edaf3f4cdec5175a1611742b7d50faa Mon Sep 17 00:00:00 2001 From: marcus Date: Tue, 17 Jun 2003 05:38:50 +0000 Subject: 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 --- devel/ORBit2/Makefile | 2 +- devel/ORBit2/files/patch-include_orbit_poa_poa.h | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 devel/ORBit2/files/patch-include_orbit_poa_poa.h (limited to 'devel') diff --git a/devel/ORBit2/Makefile b/devel/ORBit2/Makefile index b4bdfc749..62afaea5e 100644 --- a/devel/ORBit2/Makefile +++ b/devel/ORBit2/Makefile @@ -7,7 +7,7 @@ PORTNAME= ORBit2 PORTVERSION= 2.7.2 -PORTREVISION= 1 +PORTREVISION= 2 #PORTREVISION= 0 CATEGORIES= devel gnome MASTER_SITES= ${MASTER_SITE_GNOME} 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) */ + -- cgit