<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/d4b8be6a2edbb8420a2ccfecc8ebb39ecbda5fd3">https://github.com/macports/macports-ports/commit/d4b8be6a2edbb8420a2ccfecc8ebb39ecbda5fd3</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 d4b8be6a2ed pcaudiolib: fix the build
</span>d4b8be6a2ed is described below
<span style='display:block; white-space:pre;color:#808000;'>commit d4b8be6a2edbb8420a2ccfecc8ebb39ecbda5fd3
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Sat Aug 19 05:55:04 2023 +0800
<span style='display:block; white-space:pre;color:#404040;'> pcaudiolib: fix the build
</span>---
audio/pcaudiolib/Portfile | 3 ++
.../files/0001-Fix-headers-for-macOS.patch | 48 ++++++++++++++++++++++
2 files changed, 51 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/pcaudiolib/Portfile b/audio/pcaudiolib/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index b0f38bbfd70..b80011b72cd 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/audio/pcaudiolib/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/pcaudiolib/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -29,6 +29,9 @@ depends_build port:pkgconfig
</span>
patchfiles dynamic_lookup-11.patch
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://github.com/espeak-ng/pcaudiolib/pull/25
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append 0001-Fix-headers-for-macOS.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # fatal error: 'stdatomic.h' file not found
compiler.c_standard 2011
compiler.blacklist-append \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/pcaudiolib/files/0001-Fix-headers-for-macOS.patch b/audio/pcaudiolib/files/0001-Fix-headers-for-macOS.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..7bed8234e40
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/pcaudiolib/files/0001-Fix-headers-for-macOS.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,48 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From 94784d98661a43844457ae81e97b7862fece968c 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: Sat, 19 Aug 2023 05:18:56 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Subject: [PATCH] Fix headers for macOS
</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/TPCircularBuffer/TPCircularBuffer+AudioBufferList.c | 2 +-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ src/TPCircularBuffer/TPCircularBuffer.h | 8 ++++++++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 2 files changed, 9 insertions(+), 1 deletion(-)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git src/TPCircularBuffer/TPCircularBuffer+AudioBufferList.c src/TPCircularBuffer/TPCircularBuffer+AudioBufferList.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 7b913dc..df689a7 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/TPCircularBuffer/TPCircularBuffer+AudioBufferList.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/TPCircularBuffer/TPCircularBuffer+AudioBufferList.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -28,7 +28,7 @@
</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;'>+ #include "TPCircularBuffer+AudioBufferList.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#import <mach/mach_time.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <mach/mach_time.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ static double __secondsToHostTicks = 0.0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git src/TPCircularBuffer/TPCircularBuffer.h src/TPCircularBuffer/TPCircularBuffer.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index f354cfd..6791975 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/TPCircularBuffer/TPCircularBuffer.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/TPCircularBuffer/TPCircularBuffer.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -43,9 +43,17 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define TPCircularBuffer_h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <stdbool.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <stdint.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <string.h>
</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;'>++#ifdef __APPLE__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <sys/cdefs.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifndef __deprecated_msg
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</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;'>+ #ifdef __cplusplus
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ extern "C++" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <atomic>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+2.41.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>