mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
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:
19
sci-electronics/gazebo/files/oal.patch
Normal file
19
sci-electronics/gazebo/files/oal.patch
Normal 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;
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user