<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/3ce3f3e33a9d80143d22d7f701f954ff92453ff1">https://github.com/macports/macports-ports/commit/3ce3f3e33a9d80143d22d7f701f954ff92453ff1</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 3ce3f3e33a9 echoping: Fix implicit declaration of functions
</span>3ce3f3e33a9 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 3ce3f3e33a9d80143d22d7f701f954ff92453ff1
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Wed Nov 25 04:36:30 2020 -0600
<span style='display:block; white-space:pre;color:#404040;'> echoping: 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/61641
</span>---
net/echoping/Portfile | 10 ++-
net/echoping/files/implicit.patch | 153 ++++++++++++++++++++++++++++++++++++++
2 files changed, 162 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/echoping/Portfile b/net/echoping/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index b34399cd7ad..aa1ad1f6f74 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/echoping/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/echoping/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26,7 +26,8 @@ depends_lib port:libidn \
</span> port:popt
patchfiles patch-configure.diff \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-plugins-dns-dns.c.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-plugins-dns-dns.c.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ implicit.patch
</span>
configure.args --enable-http \
--enable-icp \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -38,6 +39,13 @@ configure.args --enable-http \
</span> --without-gnutls \
--without-ssl
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Fix:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# ldap.c:104:12: error: implicit declaration of function 'ldap_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# ldap.c:121:11: error: implicit declaration of function 'ldap_search_s' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# ldap.c:158:2: error: implicit declaration of function 'ldap_unbind_s' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.cflags-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DLDAP_DEPRECATED
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> variant gnutls conflicts ssl description {Add SSL/TLS crypt support with GNU TLS} {
depends_lib-append port:gnutls
configure.args-delete --without-gnutls
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/echoping/files/implicit.patch b/net/echoping/files/implicit.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..3e20a3aed24
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/echoping/files/implicit.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,153 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fix:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+error: implicit declaration of function 'to_upper' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
</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;'>+--- echoping.h.orig 2007-04-05 07:40:49.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ echoping.h 2020-11-24 18:57:56.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -208,6 +208,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ void tvstddevavg ();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ double tv2double ();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ struct timeval double2tv ();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++char *to_upper(char *input);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* http.c */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifdef HTTP
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ char *make_http_sendline ();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2007-04-09 14:53:04.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2020-11-25 04:28:58.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -8958,7 +8958,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ puts (dlerror ());
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- exit (status);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return status;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ EOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -9058,7 +9058,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ puts (dlerror ());
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- exit (status);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return status;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ EOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- plugins/configure.orig 2007-04-09 14:55:12.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ plugins/configure 2020-11-25 04:28:58.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -8948,7 +8948,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ puts (dlerror ());
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- exit (status);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return status;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ EOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -9048,7 +9048,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ puts (dlerror ());
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- exit (status);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return status;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ EOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- plugins/dns/configure.orig 2007-04-09 14:55:24.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ plugins/dns/configure 2020-11-25 04:28:58.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -8945,7 +8945,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ puts (dlerror ());
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- exit (status);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return status;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ EOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -9045,7 +9045,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ puts (dlerror ());
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- exit (status);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return status;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ EOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- plugins/ldap/configure.orig 2007-04-09 14:55:36.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ plugins/ldap/configure 2020-11-25 04:28:58.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -8945,7 +8945,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ puts (dlerror ());
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- exit (status);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return status;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ EOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -9045,7 +9045,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ puts (dlerror ());
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- exit (status);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return status;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ EOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- plugins/postgresql/configure.orig 2007-04-09 14:55:47.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ plugins/postgresql/configure 2020-11-25 04:28:58.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -8946,7 +8946,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ puts (dlerror ());
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- exit (status);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return status;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ EOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -9046,7 +9046,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ puts (dlerror ());
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- exit (status);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return status;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ EOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- plugins/random/configure.orig 2007-04-09 14:55:59.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ plugins/random/configure 2020-11-25 04:28:58.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -8942,7 +8942,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ puts (dlerror ());
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- exit (status);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return status;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ EOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -9042,7 +9042,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ puts (dlerror ());
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- exit (status);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return status;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ EOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- plugins/whois/configure.orig 2007-04-09 14:56:10.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ plugins/whois/configure 2020-11-25 04:28:58.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -8944,7 +8944,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ puts (dlerror ());
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- exit (status);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return status;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ EOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -9044,7 +9044,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ puts (dlerror ());
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- exit (status);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return status;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ EOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
</span></pre><pre style='margin:0'>
</pre>