<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/ddf5b99c70464a4b5f7dfe4c207cc25180bf67fd">https://github.com/macports/macports-ports/commit/ddf5b99c70464a4b5f7dfe4c207cc25180bf67fd</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit ddf5b99c70464a4b5f7dfe4c207cc25180bf67fd
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Wed Jan 12 19:24:12 2022 -0600
<span style='display:block; white-space:pre;color:#404040;'> libofa: Fix implicit declaration of functions
</span>---
audio/libofa/Portfile | 5 ++--
audio/libofa/files/implicit.patch | 52 +++++++++++++++++++++++++++++++++++++++
2 files changed, 55 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/libofa/Portfile b/audio/libofa/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 2e269501d1e..182395cdc6d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/audio/libofa/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/libofa/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,7 +6,6 @@ name libofa
</span> version 0.9.3
revision 1
categories audio
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span> license GPL-2
maintainers nomaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -23,7 +22,8 @@ depends_lib port:curl \
</span> master_sites googlecode:musicip-libofa
checksums md5 51507d2c4b432bd2755f48d58471696e \
rmd160 77f393570bb5356026c4b9c7195236bd96cb9143 \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 0216466153e92058c5202dea03390ddc7601d916b983f71ce4f4d034405590a0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 0216466153e92058c5202dea03390ddc7601d916b983f71ce4f4d034405590a0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 384043
</span>
post-extract {
move ${worksrcpath}/configure.in ${worksrcpath}/configure.ac
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -31,6 +31,7 @@ post-extract {
</span>
patchfiles patch-configure.ac.diff \
patch-examples-protocol.cpp.diff \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ implicit.patch \
</span> mathutils.patch
use_autoreconf yes
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/libofa/files/implicit.patch b/audio/libofa/files/implicit.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..01ec0881704
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/libofa/files/implicit.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,52 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- examples/example.cpp.orig 2006-05-10 13:05:37.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ examples/example.cpp 2022-01-12 19:20:35.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -8,6 +8,9 @@
</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 "protocol.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <cstdio>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <cctype>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <string.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AudioData* loadWaveFile(char *file);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AudioData* loadDataUsingLAME(char *file);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- examples/protocol.cpp.orig 2022-01-12 19:17:52.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ examples/protocol.cpp 2022-01-12 19:20:34.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -8,6 +8,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -------------------------------------------------------------------*/
</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 <cstring>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <string>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <map>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <expat.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- examples/uselame.cpp.orig 2006-05-10 13:05:51.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ examples/uselame.cpp 2022-01-12 19:20:37.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -11,6 +11,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "windows.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <sys/wait.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <unistd.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;'>+ AudioData *loadWaveFile(char *file);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- examples/wavefile.cpp.orig 2006-05-10 13:05:56.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ examples/wavefile.cpp 2022-01-12 19:20:37.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -11,6 +11,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "io.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <fcntl.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;'>+ static bool readBytes(int fd, unsigned char *buf, int size) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int ct = 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- lib/signal_op.cpp.orig 2006-05-10 13:01:12.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ lib/signal_op.cpp 2022-01-12 19:20:34.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -12,6 +12,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // DATE CREATED: 1/12/06
</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 <cstdlib>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <math.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "signal_op.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "AFLIB/aflibConverter.h"
</span></pre><pre style='margin:0'>
</pre>