<pre style='margin:0'>
Michael Dickens (michaelld) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/53d5a0ffab49a26fc12c4755b7df4f1fdfb9fe8f">https://github.com/macports/macports-ports/commit/53d5a0ffab49a26fc12c4755b7df4f1fdfb9fe8f</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 53d5a0ffab4 xedit: Add support for Apple silicon
</span>53d5a0ffab4 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 53d5a0ffab49a26fc12c4755b7df4f1fdfb9fe8f
</span>Author: Gary Palter <palter@clozure.com>
AuthorDate: Mon Sep 7 13:30:35 2020 -0400
<span style='display:block; white-space:pre;color:#404040;'> xedit: Add support for Apple silicon
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> When building for macOS on Apple silicon, define finite(x) as a macro that invokes the
</span><span style='display:block; white-space:pre;color:#404040;'> isfinite(x) builtin.
</span>---
x11/xedit/Portfile | 2 ++
x11/xedit/files/apple-silicon.diff | 44 ++++++++++++++++++++++++++++++++++++++
2 files changed, 46 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/x11/xedit/Portfile b/x11/xedit/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c474bd19274..90bdc6425f3 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/x11/xedit/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/x11/xedit/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -22,6 +22,8 @@ depends_build port:pkgconfig
</span>
depends_lib port:xorg-libXaw
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append apple-silicon.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> livecheck.type regex
livecheck.regex ${name}-(\[\\d.\]+)${extract.suffix}
livecheck.url https://xorg.freedesktop.org/archive/individual/app/?C=M&O=D
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/x11/xedit/files/apple-silicon.diff b/x11/xedit/files/apple-silicon.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..bbd0aba6650
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/x11/xedit/files/apple-silicon.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,44 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- lisp/core.c.orig 2020-09-07 13:09:19.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ lisp/core.c 2020-09-07 13:10:23.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -62,7 +62,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ break; \
</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;'>+-#ifdef __UNIXOS2__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if defined(__UNIXOS2__) || defined(__arm64__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # define finite(x) isfinite(x)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- lisp/read.c.orig 2020-09-07 13:09:06.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ lisp/read.c 2020-09-07 13:10:10.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -62,7 +62,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define READ_ERROR_FIXNUM() READ_ERROR0("number is not a fixnum")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define READ_ERROR_INVARG() READ_ERROR0("invalid argument")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifdef __UNIXOS2__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if defined(__UNIXOS2__) || defined(__arm64__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # define finite(x) isfinite(x)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- lisp/math.c.orig 2020-09-07 13:09:12.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ lisp/math.c 2020-09-07 13:09:55.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -32,7 +32,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "lisp/math.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "lisp/private.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifdef __UNIXOS2__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if defined(__UNIXOS2__) || defined(__arm64__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # define finite(x) isfinite(x)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- lisp/mp/mpi.c.orig 2020-09-07 13:09:02.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ lisp/mp/mpi.c 2020-09-07 13:09:47.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -31,7 +31,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "mp.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifdef __UNIXOS2__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if defined(__UNIXOS2__) || defined(__arm64__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # define finite(x) isfinite(x)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>