From e6da5cbebb60ceb1982fdc12c511f8b92a1133ee Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Tue, 10 Dec 2019 15:48:22 +0100 Subject: sci-electronics/gazebo: fix build with openal 1.20 Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Alexis Ballier --- sci-electronics/gazebo/files/oal.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 sci-electronics/gazebo/files/oal.patch (limited to 'sci-electronics/gazebo/files') diff --git a/sci-electronics/gazebo/files/oal.patch b/sci-electronics/gazebo/files/oal.patch new file mode 100644 index 000000000000..4a09793aed00 --- /dev/null +++ b/sci-electronics/gazebo/files/oal.patch @@ -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; -- cgit v1.2.3-65-gdbad