<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/85149f2adc1ae258e5c7cec6dfe0577d4e20fc2f">https://github.com/macports/macports-ports/commit/85149f2adc1ae258e5c7cec6dfe0577d4e20fc2f</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 85149f2adc1 nefu: Fix implicit declaration of functions
</span>85149f2adc1 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 85149f2adc1ae258e5c7cec6dfe0577d4e20fc2f
</span>Author: Ryan Carsten Schmidt <ryandesign@macports.org>
AuthorDate: Wed Jul 17 21:20:03 2024 -0500
<span style='display:block; white-space:pre;color:#404040;'> nefu: Fix implicit declaration of functions
</span>---
net/nefu/Portfile | 3 ++-
net/nefu/files/implicit.patch | 24 ++++++++++++++++++++++++
2 files changed, 26 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/nefu/Portfile b/net/nefu/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 5ea9bf8ae67..631bb6d16b4 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/nefu/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/nefu/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -25,7 +25,8 @@ depends_lib path:lib/libssl.dylib:openssl port:zlib
</span> patchfiles patch-Makefile.in.diff \
patch-aclocal.m4.diff \
patch-libsnet-aclocal.m4.diff \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-configure.ac.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-configure.ac.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ implicit.patch
</span>
use_autoconf yes
# This really should be in a post-autoconf hook, but we don't have one yet.
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/nefu/files/implicit.patch b/net/nefu/files/implicit.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..1c3ceae83ee
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/nefu/files/implicit.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,24 @@
</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 'atoi' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+error: implicit declaration of function 'nefu_read_config' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- libtest/http.c.orig 2006-09-08 10:00:31.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ libtest/http.c 2024-07-17 21:08:20.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -6,6 +6,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <errno.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 <unistd.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 <strings.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 <stdio.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- nefu.h.orig 2006-11-10 13:32:12.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ nefu.h 2024-07-17 21:11:08.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -226,3 +226,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int machine_errors( void );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ void machine_rcode( struct machine *, struct rcode * );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ void machine_rcode_assign( struct machine *, struct rcode * );
</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;'>++/* parse.c */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int nefu_read_config( char * );
</span></pre><pre style='margin:0'>
</pre>