From 295de3a6c62704f437339af9c5e3751bfa65f601 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Sat, 30 Apr 2016 17:20:39 +0200 Subject: [PATCH] =?utf8?q?net-libs/ignition-transport:=20add=20version=20g?= =?utf8?q?uards=20to=20the=20protobuf3=20patch=20so=20that=20protobuf2=20s?= =?utf8?q?upport=20still=20works.=20Bug=20#581214=20by=20Victor=20Matar?= =?utf8?q?=C3=A9.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Package-Manager: portage-2.2.28 Signed-off-by: Alexis Ballier --- net-libs/ignition-transport/files/protobuf3.patch | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/net-libs/ignition-transport/files/protobuf3.patch b/net-libs/ignition-transport/files/protobuf3.patch index c5cdd32a714b..fffe2296ac0d 100644 --- a/net-libs/ignition-transport/files/protobuf3.patch +++ b/net-libs/ignition-transport/files/protobuf3.patch @@ -2,11 +2,13 @@ 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 @@ +@@ -22,6 +22,9 @@ #pragma warning(push, 0) #endif #include ++#if GOOGLE_PROTOBUF_VERSION >= 3000000 +#include ++#endif #ifdef _MSC_VER #pragma warning(pop) #endif -- 2.26.2