<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/8b681dbec1dd566e069e34e9d4cd41a11faf3fef">https://github.com/macports/macports-ports/commit/8b681dbec1dd566e069e34e9d4cd41a11faf3fef</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 8b681dbec1d openal-soft: add patches for CoreAudio include issue
</span>8b681dbec1d is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 8b681dbec1dd566e069e34e9d4cd41a11faf3fef
</span>Author: Andrew Udvare <audvare@gmail.com>
AuthorDate: Sun Nov 15 03:36:03 2020 -0500
<span style='display:block; white-space:pre;color:#404040;'> openal-soft: add patches for CoreAudio include issue
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> See https://github.com/kcat/openal-soft/issues/490
</span><span style='display:block; white-space:pre;color:#404040;'> See https://github.com/kcat/openal-soft/commit/aeb7170a8bca0df3719f9c404d2b24090efe0fb8
</span>---
audio/openal-soft/Portfile | 4 +++
...openal-soft-add-missing-include-coreaudio.patch | 21 +++++++++++++
.../files/openal-soft-uint64_t-header-check.patch | 36 ++++++++++++++++++++++
3 files changed, 61 insertions(+)
<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 61156ed3647..66983b9af03 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;'>@@ -44,6 +44,10 @@ depends_build-append port:pkgconfig
</span> depends_lib-append port:libmysofa \
port:zlib
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles ${name}-uint64_t-header-check.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${name}-add-missing-include-coreaudio.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patch.pre_args -p1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> compiler.cxx_standard 2014
compiler.thread_local_storage yes
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/openal-soft/files/openal-soft-add-missing-include-coreaudio.patch b/audio/openal-soft/files/openal-soft-add-missing-include-coreaudio.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..8b3d1ab967e
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/openal-soft/files/openal-soft-add-missing-include-coreaudio.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,21 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From aeb7170a8bca0df3719f9c404d2b24090efe0fb8 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From: Chris Robinson <chris.kcat@gmail.com>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Date: Thu, 5 Nov 2020 05:42:02 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Subject: [PATCH] Add missing include for the CoreAudio backend
</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;'>+ alc/backends/coreaudio.cpp | 1 +
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 1 file changed, 1 insertion(+)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/alc/backends/coreaudio.cpp b/alc/backends/coreaudio.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 25fb71ab8..6cdbcf423 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- a/alc/backends/coreaudio.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ b/alc/backends/coreaudio.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -22,6 +22,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "backends/coreaudio.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <inttypes.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <stdio.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <stdlib.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <string.h>
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/openal-soft/files/openal-soft-uint64_t-header-check.patch b/audio/openal-soft/files/openal-soft-uint64_t-header-check.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..d551aed38fc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/openal-soft/files/openal-soft-uint64_t-header-check.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,36 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From 40c92c4643193d09c2fd90a5b3df4fe57230a789 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From: Chris Robinson <chris.kcat@gmail.com>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Date: Thu, 5 Nov 2020 04:41:17 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Subject: [PATCH] Simplify the [u]int64_t typedef header check
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+And include the correct header
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+---
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include/AL/alext.h | 9 +++------
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 1 file changed, 3 insertions(+), 6 deletions(-)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/include/AL/alext.h b/include/AL/alext.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index ef5e8cb68..57c71cb3c 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- a/include/AL/alext.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ b/include/AL/alext.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -23,18 +23,15 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <stddef.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* Define int64_t and uint64_t types */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#include <inttypes.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#elif defined(__cplusplus) && __cplusplus >= 201103L
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#include <cinttypes>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#elif defined(_WIN32) && defined(__GNUC__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ (defined(__cplusplus) && __cplusplus >= 201103L)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <stdint.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #elif defined(_WIN32)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ typedef __int64 int64_t;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ typedef unsigned __int64 uint64_t;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* Fallback if nothing above works */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#include <inttypes.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <stdint.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 "alc.h"
</span></pre><pre style='margin:0'>
</pre>