<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/7048de2fead13b1720f75428fbac26cb4992ce0e">https://github.com/macports/macports-ports/commit/7048de2fead13b1720f75428fbac26cb4992ce0e</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 7048de2fead13b1720f75428fbac26cb4992ce0e
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Mon Jan 24 12:10:43 2022 -0600
<span style='display:block; white-space:pre;color:#404040;'> mcl: 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;'> One of the fixes changes which function is called (mcxFree should have
</span><span style='display:block; white-space:pre;color:#404040;'> been mclxFree) therefore increase revision so everyone rebuilds it.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Also fix license and use https for homepage.
</span>---
science/mcl/Portfile | 13 ++++++-------
science/mcl/files/implicit.patch | 31 ++++++++++++++++++++++++++++++-
2 files changed, 36 insertions(+), 8 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/mcl/Portfile b/science/mcl/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 6d0ac221c3a..300de480a1c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/mcl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/mcl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,8 +1,8 @@
</span> PortSystem 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup github 1.0
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-name mcl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 14-137
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup micans mcl 14-137
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> checksums rmd160 063e6415a0d23dcdb2fa8663fe62a95ec4f67f5d \
sha256 b5786897a8a8ca119eb355a5630806a4da72ea84243dba85b19a86f14757b497 \
size 3035491
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -14,10 +14,9 @@ long_description \
</span> based on simulation of (stochastic) flow in graphs.
maintainers nomaintainer
categories science math
<span style='display:block; white-space:pre;background:#ffe0e0;'>-license GPL-3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://micans.org/mcl/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites http://micans.org/mcl/src/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license GPL-3+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://micans.org/mcl/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites ${homepage}src/
</span>
patchfiles patch-src-impala-edge.h.diff \
implicit.patch
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/mcl/files/implicit.patch b/science/mcl/files/implicit.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index a9cacf975a1..2e7ebab6a12 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/mcl/files/implicit.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/mcl/files/implicit.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,6 +1,14 @@
</span> Fix:
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
<span style='display:block; white-space:pre;background:#ffe0e0;'>-https://github.com/micans/mcl/pull/4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://github.com/micans/mcl/commit/6ef00d56544232b9b6f04d979c4e3138df019471
</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 'mcxFree' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://github.com/micans/mcl/commit/7bfa704f99ecd43b4c5a7808ede9f131c7b5fc36
</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 'isatty' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fix is already present in initial commit:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://github.com/micans/mcl/commit/32ce6dd2323d02cc79ae755f57a7d1fa0152221a
</span> --- configure.orig 2014-05-16 16:59:55.000000000 -0500
+++ configure 2022-01-24 06:17:16.000000000 -0600
@@ -3725,6 +3725,7 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -11,3 +19,24 @@ https://github.com/micans/mcl/pull/4
</span>
unsigned test[] =
{ 0x00000000, 0x000000ff, 0x0000ff00, 0x00ff0000, 0xff000000
<span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/shcl/clmadjust.c.orig 2011-04-05 04:23:22.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/shcl/clmadjust.c 2022-01-24 11:40:33.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -181,7 +181,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;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- mcxFree(&cl)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ mclxFree(&cl)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ; cl = cm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* mclxWrite(cm, xfout, MCLXIO_VALUE_NONE, RETURN_ON_FAIL) */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ; return 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/shmcx/mcxi.c.orig 2013-10-22 13:38:20.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/shmcx/mcxi.c 2022-01-24 11:45:11.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -8,6 +8,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 <stdio.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <unistd.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "stack.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "glob.h"
</span></pre><pre style='margin:0'>
</pre>