<pre style='margin:0'>
Michael Dickens (michaelld) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/858cd41f54b2e8e74c71e9a3b48e4b3458cd8eab">https://github.com/macports/macports-ports/commit/858cd41f54b2e8e74c71e9a3b48e4b3458cd8eab</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 858cd41f54b pulseaudio: fix missing util.h import
</span>858cd41f54b is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 858cd41f54b2e8e74c71e9a3b48e4b3458cd8eab
</span>Author: Ralph Seichter <github@seichter.de>
AuthorDate: Thu Sep 10 19:58:04 2020 +0200
<span style='display:block; white-space:pre;color:#404040;'> pulseaudio: fix missing util.h import
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> This commit adds a patch which addresses an upstream bug, i.e. the
</span><span style='display:block; white-space:pre;color:#404040;'> missing import of util.h, which causes a compilation failure with
</span><span style='display:block; white-space:pre;color:#404040;'> Xcode 12 command line tools.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes: https://trac.macports.org/ticket/61107
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Signed-off-by: Ralph Seichter <macports@seichter.de>
</span>---
audio/pulseaudio/Portfile | 3 +++
...odules_macosx_module_coreaudio_device.c-import-util-h.diff | 11 +++++++++++
2 files changed, 14 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/pulseaudio/Portfile b/audio/pulseaudio/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a62fd175611..e4045370821 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/audio/pulseaudio/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/pulseaudio/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -77,6 +77,9 @@ patchfiles patch-man-Makefile.am.diff \
</span> patch-src_modules_macosx_module_coreaudio_device.c-respect-PA_NAME_MAX.diff \
patch-src_daemon_default.pa.in-skip-consolekit-and-systemdlogin.diff
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://trac.macports.org/ticket/61107
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-src_modules_macosx_module_coreaudio_device.c-import-util-h.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # reconfigure using upstream autogen.sh for intltool 0.51 compatibility
post-patch {
xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/pulseaudio/files/patch-src_modules_macosx_module_coreaudio_device.c-import-util-h.diff b/audio/pulseaudio/files/patch-src_modules_macosx_module_coreaudio_device.c-import-util-h.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..5391ea64759
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/pulseaudio/files/patch-src_modules_macosx_module_coreaudio_device.c-import-util-h.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Upstream-Status: Submitted [https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/365]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/modules/macosx/module-coreaudio-device.c.orig 2020-09-10 19:42:18.000000000 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/modules/macosx/module-coreaudio-device.c 2020-09-10 19:46:35.000000000 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -27,6 +27,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <config.h>
</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;'>++#include <pulse/util.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <pulse/xmalloc.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <pulsecore/sink.h>
</span></pre><pre style='margin:0'>
</pre>