<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/c085959bc3af5da5de2282dd1eb56c332adaf4a6">https://github.com/macports/macports-ports/commit/c085959bc3af5da5de2282dd1eb56c332adaf4a6</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 c085959bc3a audiowmark: fix build with compiler which need __STDC_FORMAT_MACROS
</span>c085959bc3a is described below
<span style='display:block; white-space:pre;color:#808000;'>commit c085959bc3af5da5de2282dd1eb56c332adaf4a6
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Sun May 12 08:26:32 2024 +0800
<span style='display:block; white-space:pre;color:#404040;'> audiowmark: fix build with compiler which need __STDC_FORMAT_MACROS
</span>---
audio/audiowmark/Portfile | 3 +-
audio/audiowmark/files/patch-cinttypes.diff | 59 +++++++++++++++++++++++++++++
2 files changed, 61 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/audiowmark/Portfile b/audio/audiowmark/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 658eb790913..b9615efc34a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/audio/audiowmark/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/audiowmark/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -42,7 +42,8 @@ depends_lib port:fftw-3-single \
</span> port:libzita-resampler \
port:mpg123
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-missing-errno.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-missing-errno.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-cinttypes.diff
</span>
compiler.cxx_standard \
2014
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/audiowmark/files/patch-cinttypes.diff b/audio/audiowmark/files/patch-cinttypes.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..92b0aafb074
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/audiowmark/files/patch-cinttypes.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,59 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/hls.cc 2024-02-21 22:37:55.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/hls.cc 2024-05-12 08:03:46.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -23,6 +23,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <sys/stat.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <unistd.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifndef __STDC_FORMAT_MACROS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define __STDC_FORMAT_MACROS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <cinttypes>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "utils.hh"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "mpegts.hh"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "sfinputstream.hh"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/hlsoutputstream.cc 2024-02-21 22:37:55.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/hlsoutputstream.cc 2024-05-12 08:11:57.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -15,6 +15,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
</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;'>++#ifndef __STDC_FORMAT_MACROS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define __STDC_FORMAT_MACROS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <cinttypes>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "hlsoutputstream.hh"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #undef av_err2str
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/testhls.cc 2024-02-21 22:37:55.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/testhls.cc 2024-05-12 08:18:43.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -20,6 +20,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <regex>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifndef __STDC_FORMAT_MACROS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define __STDC_FORMAT_MACROS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <cinttypes>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "utils.hh"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "mpegts.hh"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "wavdata.hh"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/testrandom.cc 2024-02-21 22:37:55.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/testrandom.cc 2024-05-12 08:14:08.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -18,7 +18,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "utils.hh"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "random.hh"
</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;'>++#ifndef __STDC_FORMAT_MACROS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define __STDC_FORMAT_MACROS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <cinttypes>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ using std::vector;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ using std::string;
</span></pre><pre style='margin:0'>
</pre>