<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/cd9e090aab86cc29f29c66a8d7e2e2c34939e965">https://github.com/macports/macports-ports/commit/cd9e090aab86cc29f29c66a8d7e2e2c34939e965</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 cd9e090aab8 php72-swoole, php73-swoole: Fix arm build
</span>cd9e090aab8 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit cd9e090aab86cc29f29c66a8d7e2e2c34939e965
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Sat Mar 19 19:05:28 2022 -0500

<span style='display:block; white-space:pre;color:#404040;'>    php72-swoole, php73-swoole: Fix arm build
</span>---
 php/php-swoole/Portfile        |  1 +
 php/php-swoole/files/arm.patch | 15 +++++++++++++++
 2 files changed, 16 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/php/php-swoole/Portfile b/php/php-swoole/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c2db2fbe891..ebcd6ac86be 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/php/php-swoole/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/php/php-swoole/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,6 +18,7 @@ if {[vercmp ${php.branch} 7.2] >= 0} {
</span>     checksums           rmd160  16b6ae49390c789ab963c5426163a43869090447 \
                         sha256  ca888cb886c883092ebe8788253d600bc52c384e74e27110f97b04ecea6b6fda \
                         size    1851160
<span style='display:block; white-space:pre;background:#e0ffe0;'>+    patchfiles-append   arm.patch
</span>     patchfiles-append   timer.patch
 } elseif {[vercmp ${php.branch} 7.1] >= 0} {
     version             4.5.11
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/php/php-swoole/files/arm.patch b/php/php-swoole/files/arm.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..54f7b436cd9
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/php/php-swoole/files/arm.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,15 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Do not add -latomic ever; macOS does not have it, not even on ARM.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Reverts https://github.com/swoole/swoole-src/commit/741ace2990c5f22f098af9f874bebbdf74a342a5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- config.m4.orig 2022-03-16 09:37:42.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ config.m4      2022-03-19 19:34:44.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -784,10 +784,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+         CXXFLAGS="$CXXFLAGS -std=c++11"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-    if test "$SW_CPU" = "arm"; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-        PHP_ADD_LIBRARY(atomic, 1, SWOOLE_SHARED_LIBADD)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-    fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     PHP_ADD_BUILD_DIR($ext_builddir/ext-src)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     PHP_ADD_BUILD_DIR($ext_builddir/src/core)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     PHP_ADD_BUILD_DIR($ext_builddir/src/memory)
</span></pre><pre style='margin:0'>

</pre>