<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/2ab43b61f97bd1adf915169796f18532350b1f20">https://github.com/macports/macports-ports/commit/2ab43b61f97bd1adf915169796f18532350b1f20</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 2ab43b61f97 libtommath: better PPC support for MoarVM
</span>2ab43b61f97 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 2ab43b61f97bd1adf915169796f18532350b1f20
</span>Author: Evan Miller <emmiller@gmail.com>
AuthorDate: Wed Mar 30 21:22:37 2022 -0400

<span style='display:block; white-space:pre;color:#404040;'>    libtommath: better PPC support for MoarVM
</span>---
 math/libtommath/Portfile                | 2 +-
 math/libtommath/files/patch-pr-476.diff | 5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/libtommath/Portfile b/math/libtommath/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 387a694c75b..33b37373e3a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/libtommath/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/libtommath/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,7 +4,7 @@ PortSystem          1.0
</span> PortGroup           github 1.0
 
 github.setup        libtom libtommath 1.2.0 v
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision            1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision            2
</span> categories          math
 platforms           darwin
 maintainers         nomaintainer
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/libtommath/files/patch-pr-476.diff b/math/libtommath/files/patch-pr-476.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index fe9d8fd8c93..4b67cbbf67c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/libtommath/files/patch-pr-476.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/libtommath/files/patch-pr-476.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2,6 +2,8 @@ This patch lets MoarVM build against libtommath
</span> 
 https://github.com/libtom/libtommath/pull/476
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+Adjusted to work also on PowerPC
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> --- bn_mp_set_double.c.orig
 +++ bn_mp_set_double.c
 @@ -3,7 +3,7 @@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -15,13 +17,14 @@ https://github.com/libtom/libtommath/pull/476
</span>     uint64_t frac;
 --- tommath_private.h.orig
 +++ tommath_private.h
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -164,6 +164,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -164,6 +164,14 @@
</span>  
  MP_STATIC_ASSERT(prec_geq_min_prec, MP_PREC >= MP_MIN_PREC)
  
 +#if defined(__STDC_IEC_559__) || defined(__GCC_IEC_559) \
 +   || defined(__x86_64__) || defined(_M_X64) || defined(_M_AMD64) \
 +   || defined(__i386__) || defined(_M_X86) \
<span style='display:block; white-space:pre;background:#e0ffe0;'>++   || defined(__POWERPC__) \
</span> +   || defined(__aarch64__) || defined(__arm__)
 +#define MP_HAS_SET_DOUBLE
 +#endif
</pre><pre style='margin:0'>

</pre>