net-libs/ignition-transport: fix build with protobuf3

Package-Manager: portage-2.2.28
This commit is contained in:
Alexis Ballier
2016-04-25 12:41:19 +02:00
parent 778c729f1c
commit cffed82f0c
2 changed files with 13 additions and 0 deletions
@@ -0,0 +1,12 @@
Index: ignition-transport-1.1.0/include/ignition/transport/RepHandler.hh
===================================================================
--- ignition-transport-1.1.0.orig/include/ignition/transport/RepHandler.hh
+++ ignition-transport-1.1.0/include/ignition/transport/RepHandler.hh
@@ -22,6 +22,7 @@
#pragma warning(push, 0)
#endif
#include <google/protobuf/message.h>
+#include <google/protobuf/stubs/casts.h>
#ifdef _MSC_VER
#pragma warning(pop)
#endif
@@ -25,6 +25,7 @@ RDEPEND="${DEPEND}"
DEPEND="${DEPEND}
virtual/pkgconfig"
CMAKE_BUILD_TYPE=RelWithDebInfo
PATCHES=( "${FILESDIR}/protobuf3.patch" )
src_configure() {
# upstream appends this conditionally...