From a9fd01f49122b5d4b1840c4b726bf06b1c510dc9 Mon Sep 17 00:00:00 2001 From: Michael Gmelin Date: Fri, 12 Sep 2014 18:06:17 +0000 Subject: This adds patches No 3 [1] and No 5 [2] from upstream. Also fixes LIB_DEPENDS handling (previous versions of the slave ports won't depend on libIce.so), move LIB_DEPENDS and LIB_VRS for slaves to master, upgrade to USES= python [1] http://www.zeroc.com/forums/patches/6183-patch-3-ice-3-5-1-marshaling-bug-nested-optionals.html [2] http://www.zeroc.com/forums/patches/6285-patch-5-ice-3-5-1-fix-icegrid-registry-issue-shared-replica-groups.html Approved by: mentors (implicit) --- .../ice/files/patch-cpp-src-IceGrid-AdapterCache.h | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 devel/ice/files/patch-cpp-src-IceGrid-AdapterCache.h (limited to 'devel/ice/files/patch-cpp-src-IceGrid-AdapterCache.h') diff --git a/devel/ice/files/patch-cpp-src-IceGrid-AdapterCache.h b/devel/ice/files/patch-cpp-src-IceGrid-AdapterCache.h new file mode 100644 index 000000000000..1892a09f4682 --- /dev/null +++ b/devel/ice/files/patch-cpp-src-IceGrid-AdapterCache.h @@ -0,0 +1,23 @@ +--- cpp/src/IceGrid/AdapterCache.h.orig 2013-03-11 15:19:47.000000000 +0000 ++++ cpp/src/IceGrid/AdapterCache.h 2014-09-08 14:21:13.335195726 +0000 +@@ -62,7 +62,7 @@ protected: + + AdapterCache& _cache; + const std::string _id; +- const std::string _application; ++ std::string _application; + }; + typedef IceUtil::Handle AdapterEntryPtr; + +@@ -105,9 +105,9 @@ public: + virtual AdapterPrx getProxy(const std::string&, bool) const { return 0; } + + void addReplica(const std::string&, const ServerAdapterEntryPtr&); +- void removeReplica(const std::string&); ++ bool removeReplica(const std::string&); + +- void update(const LoadBalancingPolicyPtr&); ++ void update(const std::string&, const LoadBalancingPolicyPtr&); + bool hasAdaptersFromOtherApplications() const; + + private: -- cgit v1.2.3