<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/3bc45d598552b2ca50091fe95d7aa5d72ce3753f">https://github.com/macports/macports-ports/commit/3bc45d598552b2ca50091fe95d7aa5d72ce3753f</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 3bc45d59855 libsoundio: update to 2.0.1-7
</span>3bc45d59855 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 3bc45d598552b2ca50091fe95d7aa5d72ce3753f
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Thu Apr 18 17:09:09 2024 +0800

<span style='display:block; white-space:pre;color:#404040;'>    libsoundio: update to 2.0.1-7
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Co-authored-by: Ryan Carsten Schmidt <ryandesign@macports.org>
</span>---
 audio/libsoundio/Portfile                          | 19 ++++++---------
 ...2-coreaudio-add-fallback-aliases-for-10.8.patch | 27 ++++++++++++++++++++++
 2 files changed, 34 insertions(+), 12 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 f6713212a21..a7b863f0029 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;'>@@ -5,11 +5,12 @@ PortGroup                   cmake 1.1
</span> PortGroup                   compiler_blacklist_versions 1.0
 PortGroup                   github 1.0
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup                andrewrk libsoundio 2.0.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums                   rmd160  1e1c2c350137174593d84a32c6aa45fb18744367 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                            sha256  f19e120d09b1b2aa80d5cb0c224e38d6854149fe55665665ea89a0bd97e300e6 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                            size    120456
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup                andrewrk libsoundio 2.0.1-7
</span> revision                    0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums                   rmd160  c5317c70bcf5d1e15f61ed53c80ec1f83e25386e \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                            sha256  941f1347dabab02c88ef57e225b04587c3f69824e550e1045e4a9119cd657a4e \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                            size    126199
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.tarball_from         archive
</span> 
 license                     MIT
 categories                  audio
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -28,6 +29,8 @@ long_description            ${name} is a lightweight abstraction \
</span> 
 # https://github.com/andrewrk/libsoundio/pull/272
 patchfiles-append           0001-os.c-use-NOTE_TRIGGER-conditionally-use-EV_TRIGGER.patch
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://github.com/andrewrk/libsoundio/pull/292
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append           0002-coreaudio-add-fallback-aliases-for-10.8.patch
</span> 
 # uses C11
 compiler.c_standard         2011
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -54,14 +57,6 @@ variant jack description {Enable Jack support} {
</span>     configure.args-replace  -DENABLE_JACK=OFF -DENABLE_JACK=ON
 }
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# error: use of undeclared identifier 'kAudioObjectPropertyScopeInput'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# 10.8+ https://developer.apple.com/documentation/coreaudio/1494464-anonymous/kaudioobjectpropertyscopeinput?language=objc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# https://github.com/andrewrk/libsoundio/issues/290
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${os.platform} eq "darwin" && ${os.major} < 12} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    configure.args-replace  -DENABLE_COREAUDIO=ON  -DENABLE_COREAUDIO=OFF
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    default_variants-append +pulseaudio
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> variant tests description {Enable testing} {
     configure.args-replace  -DBUILD_TESTS=OFF -DBUILD_TESTS=ON
 
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/libsoundio/files/0002-coreaudio-add-fallback-aliases-for-10.8.patch b/audio/libsoundio/files/0002-coreaudio-add-fallback-aliases-for-10.8.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..5d554e9bd27
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/libsoundio/files/0002-coreaudio-add-fallback-aliases-for-10.8.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,27 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From 2252523d9abf52dcfdab0704b58876f11650b639 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From: barracuda156 <vital.had@gmail.com>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Date: Thu, 18 Apr 2024 16:02:36 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Subject: [PATCH] coreaudio: add fallback aliases for < 10.8
</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;'>+ src/coreaudio.c | 7 +++++++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 1 file changed, 7 insertions(+)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git src/coreaudio.c src/coreaudio.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 5cee4fc..b738a7b 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/coreaudio.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/coreaudio.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -10,6 +10,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <assert.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <AvailabilityMacros.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifndef MAC_OS_X_VERSION_10_8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define kAudioObjectPropertyScopeInput kAudioDevicePropertyScopeInput
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define kAudioObjectPropertyScopeOutput kAudioDevicePropertyScopeOutput
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define kAudioHardwarePropertyServiceRestarted 'srst'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ static const int OUTPUT_ELEMENT = 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ static const int INPUT_ELEMENT = 1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span></pre><pre style='margin:0'>

</pre>