Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Aug 2024 18:44:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 280677] audio/openal-soft: fix build with clang 19
Message-ID:  <bug-280677-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280677

            Bug ID: 280677
           Summary: audio/openal-soft: fix build with clang 19
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: multimedia@FreeBSD.org
          Reporter: dim@FreeBSD.org
          Assignee: multimedia@FreeBSD.org
             Flags: maintainer-feedback?(multimedia@FreeBSD.org)

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

=20=20=20
/wrkdirs/usr/ports/audio/openal-soft/work/openal-soft-1.21.1/common/aloptio=
nal.h:119:48:
error: no member named 'mValue' in 'optional<T>'; did you mean 'value'?
      119 |     const T& operator*() const& { return this->mValue; }
          |                                                ^~~~~~
          |                                                value
=20=20=20
/wrkdirs/usr/ports/audio/openal-soft/work/openal-soft-1.21.1/common/aloptio=
nal.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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-280677-7788>