<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/38a2e04f71f961e570a73eef0665a17ac5e655a7">https://github.com/macports/macports-ports/commit/38a2e04f71f961e570a73eef0665a17ac5e655a7</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 38a2e04f71f compface: Fix implicit declaration of functions
</span>38a2e04f71f is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 38a2e04f71f961e570a73eef0665a17ac5e655a7
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Mon Nov 16 12:23:35 2020 -0600
<span style='display:block; white-space:pre;color:#404040;'> compface: 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: https://trac.macports.org/ticket/61501
</span>---
graphics/compface/Portfile | 3 ++-
graphics/compface/files/implicit.patch | 42 ++++++++++++++++++++++++++++++++++
2 files changed, 44 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/compface/Portfile b/graphics/compface/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index bd392225b24..7266602e86d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/compface/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/compface/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,7 +18,8 @@ master_sites http://ftp.xemacs.org/pub/xemacs/aux/ \
</span> ftp://ftp.xemacs.org/pub/xemacs/aux/
checksums md5 62f4f79c0861ad292ba3cf77b4c48319 \
sha1 72dad8774b3301a1562bdbd5b3c5536ebf86a03d
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-Makefile.in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-Makefile.in \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ implicit.patch
</span>
configure.cflags-append -fno-common
configure.args --mandir=${prefix}/share/man
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/compface/files/implicit.patch b/graphics/compface/files/implicit.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..cf9a7349940
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/compface/files/implicit.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,42 @@
</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))'
</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
</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 'write' is invalid in C99
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- cmain.c.orig 2005-10-04 07:28:47.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ cmain.c 2020-11-16 12:20:44.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -15,6 +15,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ * to me, then an attempt will be made to fix them.
</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 <unistd.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifdef HAVE_CONFIG_H
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "config.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2005-10-04 07:57:59.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2020-11-16 12:18:14.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -2821,8 +2821,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ for (i = 0; i < 256; i++)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (XOR (islower (i), ISLOWER (i))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ || toupper (i) != TOUPPER (i))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- exit(2);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- exit (0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return 2;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ _ACEOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rm -f conftest$ac_exeext
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- uncmain.c.orig 2005-10-04 07:28:47.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ uncmain.c 2020-11-16 12:20:49.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -15,6 +15,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ * to me, then an attempt will be made to fix them.
</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 <unistd.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifdef HAVE_CONFIG_H
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "config.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span></pre><pre style='margin:0'>
</pre>