From 07210e5dd340344e240296b6a86cd7724b498466 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Fri, 25 Aug 2023 13:52:29 +0200 Subject: net-libs/ignition-msgs: fix build with latest protobuf Closes: https://bugs.gentoo.org/912890 Signed-off-by: Alexis Ballier --- net-libs/ignition-msgs/files/protobuf.patch | 13 +++++++++++++ net-libs/ignition-msgs/ignition-msgs-5.11.0.ebuild | 1 + 2 files changed, 14 insertions(+) create mode 100644 net-libs/ignition-msgs/files/protobuf.patch (limited to 'net-libs/ignition-msgs') diff --git a/net-libs/ignition-msgs/files/protobuf.patch b/net-libs/ignition-msgs/files/protobuf.patch new file mode 100644 index 000000000000..5a441ae4d2a9 --- /dev/null +++ b/net-libs/ignition-msgs/files/protobuf.patch @@ -0,0 +1,13 @@ +Index: gz-msgs-ignition-msgs5_5.11.0/CMakeLists.txt +=================================================================== +--- gz-msgs-ignition-msgs5_5.11.0.orig/CMakeLists.txt ++++ gz-msgs-ignition-msgs5_5.11.0/CMakeLists.txt +@@ -62,7 +62,7 @@ message(STATUS "\n\n-- ====== Finding De + + #-------------------------------------- + # Find Protobuf +-set(REQ_PROTOBUF_VER 3) ++set(REQ_PROTOBUF_VER 4) + ign_find_package(IgnProtobuf + VERSION ${REQ_PROTOBUF_VER} + REQUIRED diff --git a/net-libs/ignition-msgs/ignition-msgs-5.11.0.ebuild b/net-libs/ignition-msgs/ignition-msgs-5.11.0.ebuild index 552d7c3fb165..647b49fb7925 100644 --- a/net-libs/ignition-msgs/ignition-msgs-5.11.0.ebuild +++ b/net-libs/ignition-msgs/ignition-msgs-5.11.0.ebuild @@ -23,3 +23,4 @@ DEPEND="${RDEPEND} BDEPEND="dev-util/ignition-cmake:2" CMAKE_BUILD_TYPE=RelWithDebInfo S="${WORKDIR}/gz-msgs-ignition-msgs5_${PV}" +PATCHES=( "${FILESDIR}/protobuf.patch" ) -- cgit v1.2.3-65-gdbad