sci-electronics/gazebo: fix build with openal 1.20

Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
This commit is contained in:
Alexis Ballier
2019-12-10 15:48:22 +01:00
parent cda6a93f19
commit e6da5cbebb
2 changed files with 20 additions and 1 deletions

View File

@@ -0,0 +1,19 @@
Fixes build with openal 1.20
Index: gazebo-10.1.0/gazebo/util/OpenALPrivate.hh
===================================================================
--- gazebo-10.1.0.orig/gazebo/util/OpenALPrivate.hh
+++ gazebo-10.1.0/gazebo/util/OpenALPrivate.hh
@@ -37,10 +37,10 @@ namespace gazebo
class OpenALPrivate
{
/// \brief OpenAL audio context pointer.
- public: ALCcontext_struct *context;
+ public: ALCcontext *context;
/// \brief OpenAL audio device pointer.
- public: ALCdevice_struct *audioDevice;
+ public: ALCdevice *audioDevice;
/// \brief OpenAL sink pointer.
public: OpenALSinkPtr sink;

View File

@@ -58,7 +58,7 @@ DEPEND="${RDEPEND}
test? ( dev-libs/libxslt )
"
CMAKE_BUILD_TYPE=RelWithDebInfo
PATCHES=( "${FILESDIR}/qwt.patch" )
PATCHES=( "${FILESDIR}/qwt.patch" "${FILESDIR}/oal.patch" )
src_configure() {
# doesnt build without it