<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/ab5c8334abea7a6e77794e301a91f1ae3b9bc607">https://github.com/macports/macports-ports/commit/ab5c8334abea7a6e77794e301a91f1ae3b9bc607</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit ab5c8334abea7a6e77794e301a91f1ae3b9bc607
</span>Author: Ken Cunningham <kencu@macports.org>
AuthorDate: Mon Jun 15 09:12:22 2020 -0700
<span style='display:block; white-space:pre;color:#404040;'> libsoundio: use pulseaudio on < 10.10
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> and adjust failing systems test.
</span>---
audio/libsoundio/Portfile | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/libsoundio/Portfile b/audio/libsoundio/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 004323f632d..149708b1ad5 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/audio/libsoundio/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/libsoundio/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -46,10 +46,17 @@ variant pulseaudio description {Enable PulseAudio support} {
</span> configure.args-replace -DENABLE_PULSEAUDIO=OFF -DENABLE_PULSEAUDIO=ON
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${os.platform} eq "darwin" && ${os.major} < 14} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# error: use of undeclared identifier 'kAudioObjectPropertyScopeInput'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# 10.8+ https://developer.apple.com/documentation/coreaudio/1494464-anonymous/kaudioobjectpropertyscopeinput?language=objc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${os.major} < 12} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace -DENABLE_COREAUDIO=ON -DENABLE_COREAUDIO=OFF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants-append +pulseaudio
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${os.major} < 10} {
</span> known_fail yes
pre-fetch {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_error "${name} @${version} requires OS X 10.10 or greater."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "${name} @${version} requires OS X 10.6 or greater."
</span> return -code error "incompatible OS X version"
}
}
</pre><pre style='margin:0'>
</pre>