<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/5d19caf540c3e2432ed0075b0569932c3e0055c8">https://github.com/macports/macports-ports/commit/5d19caf540c3e2432ed0075b0569932c3e0055c8</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 5d19caf nettle: Fix build with c89 compilers
</span>5d19caf is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 5d19caf540c3e2432ed0075b0569932c3e0055c8
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Fri Dec 7 08:24:25 2018 -0600
<span style='display:block; white-space:pre;color:#404040;'> nettle: Fix build with c89 compilers
</span>---
devel/nettle/Portfile | 1 +
devel/nettle/files/c89.patch | 13 +++++++++++++
2 files changed, 14 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/nettle/Portfile b/devel/nettle/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 49bd5c8..b630be9 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/nettle/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/nettle/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -34,6 +34,7 @@ master_sites gnu
</span> depends_lib port:gmp
patchfiles no-fink.patch \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ c89.patch \
</span> macosx-dylib.patch
use_autoreconf yes
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/nettle/files/c89.patch b/devel/nettle/files/c89.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..03a6e35
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/nettle/files/c89.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- rsa-sign-tr.c.orig 2018-12-04 14:56:05.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ rsa-sign-tr.c 2018-12-07 08:20:09.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -239,8 +239,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sec_equal(const mp_limb_t *a, const mp_limb_t *b, size_t limbs)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ volatile mp_limb_t z = 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ size_t i;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- for (size_t i = 0; i < limbs; i++)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ for (i = 0; i < limbs; i++)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ z |= (a[i] ^ b[i]);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span></pre><pre style='margin:0'>
</pre>