<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/590bd62ab0e7fc144386a7c4cee58e3a02815aed">https://github.com/macports/macports-ports/commit/590bd62ab0e7fc144386a7c4cee58e3a02815aed</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 590bd62ab0e openal-soft: Fix build with Apple Clang < 900
</span>590bd62ab0e is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 590bd62ab0e7fc144386a7c4cee58e3a02815aed
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Mon Jun 20 21:02:04 2022 -0500
<span style='display:block; white-space:pre;color:#404040;'> openal-soft: Fix build with Apple Clang < 900
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/65175
</span>---
audio/openal-soft/Portfile | 7 +++++--
audio/openal-soft/files/alc-device.h.patch | 14 --------------
2 files changed, 5 insertions(+), 16 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/openal-soft/Portfile b/audio/openal-soft/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 345d61f42cc..306fbd12a68 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/audio/openal-soft/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/openal-soft/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2,6 +2,7 @@
</span>
PortSystem 1.0
PortGroup cmake 1.1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup compiler_blacklist_versions 1.0
</span> PortGroup legacysupport 1.1
# For TARGET_OS_OSX, TARGET_OS_IOS & TARGET_OS_TV macros
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -42,11 +43,13 @@ depends_build-append port:pkgconfig
</span> depends_lib-append port:libmysofa \
port:zlib
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles alc-device.h.patch
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> compiler.cxx_standard 2014
compiler.thread_local_storage yes
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# error: inline declaration of 'configValue<...>' follows non-inline definition
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://github.com/kcat/openal-soft/issues/703
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.blacklist-append {clang < 900}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.args-append -DALSOFT_EXAMPLES=OFF \
-DALSOFT_UTILS=ON \
-DALSOFT_NO_CONFIG_UTIL=ON \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/openal-soft/files/alc-device.h.patch b/audio/openal-soft/files/alc-device.h.patch
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index fda63bca654..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/audio/openal-soft/files/alc-device.h.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,14 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Fix build with Apple Clang < 900.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-https://github.com/kcat/openal-soft/issues/703
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-https://github.com/kcat/openal-soft/commit/0a57ebdd495149156736aea3e1aba4d2b3e55dd4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- alc/device.h.orig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ alc/device.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -141,7 +141,7 @@ struct ALCdevice : public al::intrusive_ref<ALCdevice>, DeviceBase {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- { return GetConfigValueBool(DeviceName.c_str(), block, key, def); }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- template<typename T>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- al::optional<T> configValue(const char *block, const char *key) = delete;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ inline al::optional<T> configValue(const char *block, const char *key) = delete;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- DEF_NEWDEL(ALCdevice)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- };
</span></pre><pre style='margin:0'>
</pre>