<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/d24298a8305549a79c845447e058f8604c65096c">https://github.com/macports/macports-ports/commit/d24298a8305549a79c845447e058f8604c65096c</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 d24298a8305 xgalaga: Fix implicit declaration of functions
</span>d24298a8305 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit d24298a8305549a79c845447e058f8604c65096c
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Sun Nov 15 10:48:14 2020 -0600
<span style='display:block; white-space:pre;color:#404040;'> xgalaga: Fix implicit declaration of functions
</span>---
games/xgalaga/Portfile | 3 ++-
games/xgalaga/files/implicit.patch | 17 +++++++++++++++++
2 files changed, 19 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/games/xgalaga/Portfile b/games/xgalaga/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index d5eb8fdad07..cd60e004dc9 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/games/xgalaga/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/games/xgalaga/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -19,7 +19,8 @@ checksums md5 f37c3377b245d2d53b33eb489966bf28 \
</span> rmd160 b55a97187b61ffe7c072ecd784cf9a16fe568c26
patchfiles patch-Makefile.in.diff \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-main.c.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-main.c.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ implicit.patch
</span>
depends_lib port:xorg-libX11 \
port:xorg-libXext \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/games/xgalaga/files/implicit.patch b/games/xgalaga/files/implicit.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..934dc4fe76d
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/games/xgalaga/files/implicit.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,17 @@
</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: implicit declaration of function 'read' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+error: implicit declaration of function 'close' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- title.c.orig 2008-03-05 15:58:16.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ title.c 2020-11-15 10:45:46.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -5,6 +5,9 @@
</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 <sys/types.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <sys/uio.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <unistd.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifdef HAVE_FCNTL_H
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # include <fcntl.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span></pre><pre style='margin:0'>
</pre>