<pre style='margin:0'>
Ryan Carsten Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/975fad40900eafb0ad050b22f0ac2e53d117bc99">https://github.com/macports/macports-ports/commit/975fad40900eafb0ad050b22f0ac2e53d117bc99</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 975fad40900 vorbisgain: Fix implicit declaration of functions
</span>975fad40900 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 975fad40900eafb0ad050b22f0ac2e53d117bc99
</span>Author: Ryan Carsten Schmidt <ryandesign@macports.org>
AuthorDate: Mon Apr 15 05:07:08 2024 -0500
<span style='display:block; white-space:pre;color:#404040;'> vorbisgain: Fix implicit declaration of functions
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: #23507
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Co-authored-by: Keita Kita <maoutwo@gmail.com>
</span>---
audio/vorbisgain/Portfile | 11 ++++++++---
audio/vorbisgain/files/implicit.patch | 26 ++++++++++++++++++++++++++
2 files changed, 34 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/vorbisgain/Portfile b/audio/vorbisgain/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index d1286fb06db..bd9d697ab08 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/audio/vorbisgain/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/vorbisgain/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,6 @@ PortSystem 1.0
</span> name vorbisgain
version 0.37
categories audio
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span> maintainers {ryandesign @ryandesign} openmaintainer
license LGPL-2.1
homepage https://sjeng.org/vorbisgain.html
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -23,20 +22,26 @@ long_description VorbisGain ${description} by calculating the file's
</span> that knows about and acts on that suggestion.
checksums rmd160 01de9516a7571c2ecdb3e4645c6c8e7ba8ce80cc \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 dd6db051cad972bcac25d47b4a9e40e217bb548a1f16328eddbb4e66613530ec
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 dd6db051cad972bcac25d47b4a9e40e217bb548a1f16328eddbb4e66613530ec \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 208977
</span>
depends_lib port:libogg \
port:libvorbis
post-extract {
file attributes ${worksrcpath}/configure -permissions a+x
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Convert DOS to UNIX line endings so we can patch.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|\r||g" ${worksrcpath}/misc.c
</span> }
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles implicit.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.args-append --mandir=${prefix}/share/man \
--enable-recursive
post-destroot {
set docdir ${destroot}${prefix}/share/doc/${name}
xinstall -d ${docdir}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 ${worksrcpath}/README ${docdir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 ${worksrcpath}/README ${docdir}
</span> }
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/vorbisgain/files/implicit.patch b/audio/vorbisgain/files/implicit.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..8ba3315e592
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/vorbisgain/files/implicit.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,26 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fix:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+error: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+error: call to undeclared function 'ioctl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2005-07-14 17:50:59.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2024-04-15 04:54:46.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -3894,6 +3894,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cat >>conftest.$ac_ext <<_ACEOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* end confdefs.h. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <ctype.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <stdlib.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #if ((' ' & 0x0FF) == 0x020)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- misc.c.orig 2004-01-03 15:17:28.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ misc.c 2024-04-15 05:03:23.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -14,6 +14,8 @@
</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;background:#e0ffe0;'>++#include <sys/ioctl.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <unistd.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <vorbis/codec.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "i18n.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "misc.h"
</span></pre><pre style='margin:0'>
</pre>