<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/6e56cb715325e487a6d5554ab3ea1e1feb4361fa">https://github.com/macports/macports-ports/commit/6e56cb715325e487a6d5554ab3ea1e1feb4361fa</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 6e56cb715325e487a6d5554ab3ea1e1feb4361fa
</span>Author: Knapoc <Knapoc@users.noreply.github.com>
AuthorDate: Wed Dec 2 10:10:43 2020 +0100
<span style='display:block; white-space:pre;color:#404040;'> kermit: patch implicit declaration errors
</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/61425
</span>---
comms/kermit/Portfile | 4 +++-
comms/kermit/files/implicit.patch | 50 +++++++++++++++++++++++++++++++++++++++
2 files changed, 53 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/comms/kermit/Portfile b/comms/kermit/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 138f925c802..b2a1a8825e6 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/comms/kermit/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/comms/kermit/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -28,7 +28,9 @@ checksums rmd160 ef3a71b5a42868c80408ac09662d00b71da0b0c8 \
</span>
extract.mkdir yes
build.target
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-makefile patch-ckuus5.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-makefile \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-ckuus5.c \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ implicit.patch
</span>
platform darwin {
build.target macosx
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/comms/kermit/files/implicit.patch b/comms/kermit/files/implicit.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..195598540aa
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/comms/kermit/files/implicit.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,50 @@
</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;'>+ckcmai.c:3160:13: error: implicit declaration of function 'time' 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;'>+ckuusx.c:5980:17: error: implicit declaration of function 'tgetent' 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;'>+--- ckcmai.c.orig 2011-08-20 23:20:42.000000000 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ ckcmai.c 2020-11-07 06:54:10.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1,7 +1,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define EDITDATE "20 Aug 2011" /* Last edit date dd mmm yyyy */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define EDITNDATE "20110820" /* Keep them in sync */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* Sat Aug 20 17:20:17 2011 */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <time.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* ckcmai.c - Main program for C-Kermit plus some miscellaneous functions */
</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;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- ckuusx.c.orig 2011-06-17 16:11:34.000000000 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ ckuusx.c 2020-12-02 09:30:29.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -28,6 +28,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "ckcker.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "ckuusr.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "ckcxla.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 <term.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifndef NOHTERMCAP
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifdef NOTERMCAP
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- ckupty.c.orig 2011-06-13 17:34:13.000000000 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ ckupty.c 2020-12-02 09:17:03.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -56,6 +56,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "ckcsym.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "ckcdeb.h" /* To pick up NETPTY definition */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <util.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifndef NETPTY /* Selector for PTY support */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- ckutio.c.orig 2011-08-20 23:22:35.000000000 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ ckutio.c 2020-12-02 09:16:34.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -41,6 +41,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "ckcsym.h" /* This must go first */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "ckcdeb.h" /* This must go second */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <util.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifdef OSF13
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifdef CK_ANSIC
</span></pre><pre style='margin:0'>
</pre>