sci-electronics/gazebo: upstream patch for boost 1.86 compat

Signed-off-by: Alexis Ballier <aballier@gentoo.org>
This commit is contained in:
Alexis Ballier
2024-11-18 09:31:02 +01:00
parent a8c9a8c804
commit 6dc7a6f57c
2 changed files with 24 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
From 0cc96de9cd128c8f2255f022f6e2b1bccc8512c4 Mon Sep 17 00:00:00 2001
From: Tobias Fischer <info@tobiasfischer.info>
Date: Sun, 25 Aug 2024 08:09:21 +1000
Subject: [PATCH] Boost 1.86 compatibility
Signed-off-by: Tobias Fischer <info@tobiasfischer.info>
---
gazebo/common/CommonIface.hh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gazebo/common/CommonIface.hh b/gazebo/common/CommonIface.hh
index 82606a8528..a38935250f 100644
--- a/gazebo/common/CommonIface.hh
+++ b/gazebo/common/CommonIface.hh
@@ -229,7 +229,7 @@ namespace gazebo
std::string common::get_sha1(const T &_buffer)
{
boost::uuids::detail::sha1 sha1;
- unsigned int hash[5];
+ boost::uuids::detail::sha1::digest_type hash;
std::stringstream stream;
if (_buffer.size() == 0)

View File

@@ -67,6 +67,7 @@ PATCHES=(
"${FILESDIR}/cmake.patch"
"${FILESDIR}/gv10.patch"
"${FILESDIR}/boost.patch"
"${FILESDIR}/boost186.patch"
)
src_configure() {