maintainer-feedback requested: [Bug 280677] audio/openal-soft: fix build with clang 19

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 07 Aug 2024 18:44:16 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-multimedia
(Nobody) <multimedia@FreeBSD.org> for maintainer-feedback:
Bug 280677: audio/openal-soft: fix build with clang 19
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280677



--- Description ---
With clang 19 and gcc 15, audio/openal-soft fails to compile, with an
error similar to:

   
/wrkdirs/usr/ports/audio/openal-soft/work/openal-soft-1.21.1/common/aloptional.
h:119:48:
error: no member named 'mValue' in 'optional<T>'; did you mean 'value'?
      119 |	const T& operator*() const& { return this->mValue; }
	  |						   ^~~~~~
	  |						   value
   
/wrkdirs/usr/ports/audio/openal-soft/work/openal-soft-1.21.1/common/aloptional.
h:127:8:
note: 'value' declared here
      127 |	T& value() & { return mStore.mValue; }
	  |	   ^

Upstream commit <https://github.com/kcat/openal-soft/440b5970> fixes
this this, so add it as a PATCHFILES entry in the Makefile, until a
newer version of openal-soft is imported.