<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/6e5464aaefef0d9afae6c6ca174ec2ca0fba5e13">https://github.com/macports/macports-ports/commit/6e5464aaefef0d9afae6c6ca174ec2ca0fba5e13</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 6e5464aaefef0d9afae6c6ca174ec2ca0fba5e13
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Mon Jan 10 14:36:29 2022 -0600
<span style='display:block; white-space:pre;color:#404040;'> oggsplit: Fix implicit declaration of functions
</span>---
audio/oggsplit/Portfile | 9 +++++----
audio/oggsplit/files/implicit.patch | 13 +++++++++++++
2 files changed, 18 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/oggsplit/Portfile b/audio/oggsplit/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 0c5120f97e1..fa2fbdad3ed 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/audio/oggsplit/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/oggsplit/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,6 +3,10 @@ PortSystem 1.0
</span> name oggsplit
version 0.1.0
revision 1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 762a9a5bac0ad12032a5c87dfced35cc90b3e716 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 22ede17b06e31b4869ef916eb49db89391de7240a73c24c96d6277ca94f78746 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 31318
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> categories audio
license GPL-2+
maintainers nomaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -14,20 +18,17 @@ long_description \
</span> to split two streams which are grouped, for example the video and audio streams \
in a theora+vorbis file
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> homepage http://www.freshports.org/audio/oggsplit/
master_sites ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/
use_bzip2 yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums md5 a0cfe3258930ed3c6bf678ac996725e1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> depends_build port:autoconf port:automake
depends_lib port:libogg
patchfiles patch-system.h \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ implicit.patch \
</span> patch-xmalloc.c
pre-configure {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/oggsplit/files/implicit.patch b/audio/oggsplit/files/implicit.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..54ec14f6fb4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/oggsplit/files/implicit.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fix:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+error: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Werror,-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+error: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Werror,-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- xmalloc.c.orig 2022-01-10 14:26:37.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ xmalloc.c 2022-01-10 14:31:00.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -25,6 +25,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # define VOID char
</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 <string.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <sys/types.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #if STDC_HEADERS
</span></pre><pre style='margin:0'>
</pre>