mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 11:17:21 -08:00
net-libs/ignition-msgs: fix build with latest protobuf
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
Index: gz-msgs-ignition-msgs5_5.9.0/src/Generator.cc
|
||||
===================================================================
|
||||
--- gz-msgs-ignition-msgs5_5.9.0.orig/src/Generator.cc
|
||||
+++ gz-msgs-ignition-msgs5_5.9.0/src/Generator.cc
|
||||
@@ -67,7 +67,7 @@ Generator::~Generator()
|
||||
|
||||
/////////////////////////////////////////////////
|
||||
bool Generator::Generate(const FileDescriptor *_file,
|
||||
- const string &/*_parameter*/,
|
||||
+ const std::string &/*_parameter*/,
|
||||
OutputDirectory *_generatorContext,
|
||||
std::string * /*_error*/) const
|
||||
{
|
||||
Index: gz-msgs-ignition-msgs5_5.9.0/src/Generator.hh
|
||||
===================================================================
|
||||
--- gz-msgs-ignition-msgs5_5.9.0.orig/src/Generator.hh
|
||||
+++ gz-msgs-ignition-msgs5_5.9.0/src/Generator.hh
|
||||
@@ -44,9 +44,9 @@ class Generator : public CodeGenerator
|
||||
/// \param[in] _generatorContext Output directory.
|
||||
/// \param[in] _error Unused string value
|
||||
public: virtual bool Generate(const FileDescriptor *_file,
|
||||
- const string &_parameter,
|
||||
+ const std::string &_parameter,
|
||||
OutputDirectory *_generatorContext,
|
||||
- string *_error) const;
|
||||
+ std::string *_error) const;
|
||||
|
||||
// private: GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(Generator);
|
||||
};
|
||||
@@ -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}/std.patch" )
|
||||
|
||||
Reference in New Issue
Block a user