<pre style='margin:0'>
Clemens Lang (neverpanic) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/1d70f17740b275ea16df19997bc7b43f3443bedf">https://github.com/macports/macports-ports/commit/1d70f17740b275ea16df19997bc7b43f3443bedf</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 1d70f17740b nc6: autoreconf to fix implicit function decl
</span>1d70f17740b is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 1d70f17740b275ea16df19997bc7b43f3443bedf
</span>Author: Clemens Lang <cal@macports.org>
AuthorDate: Tue Nov 24 22:21:11 2020 +0100
<span style='display:block; white-space:pre;color:#404040;'> nc6: autoreconf to fix implicit function decl
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> The configure script shipped with nc6 seems to have an old copy of
</span><span style='display:block; white-space:pre;color:#404040;'> a check for fork(2), which fails because HAVE_UNISTD_H is not defined in
</span><span style='display:block; white-space:pre;color:#404040;'> the test, which skips the #include <unistd.h> required for this test to
</span><span style='display:block; white-space:pre;color:#404040;'> properly compile with -Werror=implicit-function-declaration on Big Sur.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fix this by running autoreconf -fvi, which seems to update to a newer
</span><span style='display:block; white-space:pre;color:#404040;'> version of the check that does not exhibit the same problem.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Modernize the checksum types and use explicit port dependencies, while
</span><span style='display:block; white-space:pre;color:#404040;'> at it.
</span>---
net/nc6/Portfile | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/nc6/Portfile b/net/nc6/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 48fe703b570..4713379cd85 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/nc6/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/nc6/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,6 +4,7 @@ PortSystem 1.0
</span>
name nc6
version 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> categories net
license GPL-2+
maintainers {cal @neverpanic} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -17,13 +18,15 @@ homepage http://www.deepspace6.net/
</span> master_sites ftp://ftp.deepspace6.net/pub/ds6/sources/nc6/ \
http://ftp.deepspace6.net/pub/ds6/sources/nc6/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums md5 97fb6d871d804eabbc0ec6552d46b6b0 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha1 50b1a3f7bfa610a2016727e5741791ad3a88bd07 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 4bd6a0f0fddb544636e5b2265b44cb833342db29
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 4bd6a0f0fddb544636e5b2265b44cb833342db29 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 db7462839dd135ff1215911157b666df8512df6f7343a075b2f9a2ef46fe5412 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 355238
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib lib:libintl:gettext \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- lib:libiconv:libiconv
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib port:gettext \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libiconv
</span>
<span style='display:block; white-space:pre;background:#e0ffe0;'>+use_autoreconf yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+autoreconf.args -fvi
</span> configure.args --mandir=${prefix}/share/man
post-destroot {
</pre><pre style='margin:0'>
</pre>