freebsd-ports/devel/ice37/files/patch-cpp-src-IceGrid-RegistryI.cpp
Michael Gmelin 0c2e1ae609 Add ZeroC Ice 3.7.1 as new ports devel/{ice37|php-ice37|py-ice37}
Upgrading from Ice 3.6 isn't trivial, as it requires application
code changes. Therefore a new set of ports was created.

Marked devel/{ice|php5-ice|py-ice} as conflicting (and vice versa).

PR:		221141
2018-08-27 16:37:53 +00:00

24 lines
453 B
C++

--- cpp/src/IceGrid/RegistryI.cpp.orig 2018-04-20 15:02:08 UTC
+++ cpp/src/IceGrid/RegistryI.cpp
@@ -46,6 +46,13 @@ using namespace std;
using namespace Ice;
using namespace IceGrid;
+namespace IceGrid
+{
+
+ICEGRID_API void setRegistryPluginFacade(const RegistryPluginFacadePtr&);
+
+}
+
namespace
{
@@ -183,6 +190,7 @@ RegistryI::RegistryI(const CommunicatorP
RegistryI::~RegistryI()
{
+ IceGrid::setRegistryPluginFacade(0);
}
bool