diff options
author | Alexis Ballier <aballier@gentoo.org> | 2016-04-25 12:41:09 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2016-04-25 12:41:19 +0200 |
commit | cffed82f0ca44efbc99c5a0cc4d494841c855b6a (patch) | |
tree | 98c4bd800d20288575540b53a7727a57f3d0ce9e /net-libs/ignition-transport | |
parent | net-libs/ignition-transport: remove old (diff) | |
download | gentoo-cffed82f0ca44efbc99c5a0cc4d494841c855b6a.tar.gz gentoo-cffed82f0ca44efbc99c5a0cc4d494841c855b6a.tar.bz2 gentoo-cffed82f0ca44efbc99c5a0cc4d494841c855b6a.zip |
net-libs/ignition-transport: fix build with protobuf3
Package-Manager: portage-2.2.28
Diffstat (limited to 'net-libs/ignition-transport')
-rw-r--r-- | net-libs/ignition-transport/files/protobuf3.patch | 12 | ||||
-rw-r--r-- | net-libs/ignition-transport/ignition-transport-1.1.0.ebuild | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/net-libs/ignition-transport/files/protobuf3.patch b/net-libs/ignition-transport/files/protobuf3.patch new file mode 100644 index 000000000000..c5cdd32a714b --- /dev/null +++ b/net-libs/ignition-transport/files/protobuf3.patch @@ -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 diff --git a/net-libs/ignition-transport/ignition-transport-1.1.0.ebuild b/net-libs/ignition-transport/ignition-transport-1.1.0.ebuild index f965d2fac127..94fde8b25100 100644 --- a/net-libs/ignition-transport/ignition-transport-1.1.0.ebuild +++ b/net-libs/ignition-transport/ignition-transport-1.1.0.ebuild @@ -25,6 +25,7 @@ RDEPEND="${DEPEND}" DEPEND="${DEPEND} virtual/pkgconfig" CMAKE_BUILD_TYPE=RelWithDebInfo +PATCHES=( "${FILESDIR}/protobuf3.patch" ) src_configure() { # upstream appends this conditionally... |