diff options
author | Alexis Ballier <aballier@gentoo.org> | 2022-09-07 18:08:45 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2022-09-27 17:33:00 +0200 |
commit | 8a9d2b17a136e7ae059619618cf4d8a12ea696e9 (patch) | |
tree | 18d420dba6804c200f437e218176b063e6fad36c /net-libs | |
parent | net-libs/ignition-msgs: bump to 5.9.0 (diff) | |
download | gentoo-8a9d2b17a136e7ae059619618cf4d8a12ea696e9.tar.gz gentoo-8a9d2b17a136e7ae059619618cf4d8a12ea696e9.tar.bz2 gentoo-8a9d2b17a136e7ae059619618cf4d8a12ea696e9.zip |
net-libs/ignition-msgs: fix build with latest protobuf
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/ignition-msgs/files/std.patch | 29 | ||||
-rw-r--r-- | net-libs/ignition-msgs/ignition-msgs-5.9.0.ebuild | 1 |
2 files changed, 30 insertions, 0 deletions
diff --git a/net-libs/ignition-msgs/files/std.patch b/net-libs/ignition-msgs/files/std.patch new file mode 100644 index 000000000000..2f795b08833d --- /dev/null +++ b/net-libs/ignition-msgs/files/std.patch @@ -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); + }; diff --git a/net-libs/ignition-msgs/ignition-msgs-5.9.0.ebuild b/net-libs/ignition-msgs/ignition-msgs-5.9.0.ebuild index 7172903d1f5b..326c0a377f89 100644 --- a/net-libs/ignition-msgs/ignition-msgs-5.9.0.ebuild +++ b/net-libs/ignition-msgs/ignition-msgs-5.9.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}/std.patch" ) |