<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/104391c9be5fe72438f493f7616b2eeeac8ac511">https://github.com/macports/macports-ports/commit/104391c9be5fe72438f493f7616b2eeeac8ac511</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 104391c9be5 cftp: Fix implicit declaration of functions
</span>104391c9be5 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 104391c9be5fe72438f493f7616b2eeeac8ac511
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Mon Dec 7 21:19:12 2020 -0600
<span style='display:block; white-space:pre;color:#404040;'> cftp: 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/61675
</span>---
net/cftp/Portfile | 4 +++-
net/cftp/files/implicit.patch | 25 +++++++++++++++++++++++++
2 files changed, 28 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/cftp/Portfile b/net/cftp/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f2b6fa525a7..9be53b2bc9c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/cftp/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/cftp/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -19,5 +19,7 @@ homepage https://nih.at/cftp/
</span> master_sites https://nih.at/cftp/
checksums rmd160 9dfd1d3a03efd5d724bc0ed4c0dafbe19c47670d \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 70a353cfd5a912350405e2ea8c1c1925931c07e58103ae64c589b05b642b8881
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 70a353cfd5a912350405e2ea8c1c1925931c07e58103ae64c589b05b642b8881 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 182043
</span>
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles implicit.patch
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/cftp/files/implicit.patch b/net/cftp/files/implicit.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..a6c9f77448f
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/cftp/files/implicit.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,25 @@
</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;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+error: implicit declaration of function 'tparm' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- signals.c.orig 2002-09-16 07:42:42.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ signals.c 2020-12-07 19:14:43.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;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <signal.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 "signals.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "display.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- tty.c.orig 2002-09-16 07:42:45.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ tty.c 2020-12-07 21:13:10.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -29,6 +29,7 @@
</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 <errno.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <curses.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <termios.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;'>+
</span></pre><pre style='margin:0'>
</pre>