mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 18:47:16 -08:00
net-libs/ignition-transport: fix build with protobuf3
Package-Manager: portage-2.2.28
This commit is contained in:
@@ -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...
|
||||
|
||||
Reference in New Issue
Block a user