<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/e237133cabe4e657458e051a8d3b73f511573b8a">https://github.com/macports/macports-ports/commit/e237133cabe4e657458e051a8d3b73f511573b8a</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 e237133 php-swoole: Update to 4.0.3
</span>e237133 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit e237133cabe4e657458e051a8d3b73f511573b8a
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Sun Jul 29 17:54:06 2018 -0500
<span style='display:block; white-space:pre;color:#404040;'> php-swoole: Update to 4.0.3
</span>---
php/php-swoole/Portfile | 9 +++++----
php/php-swoole/files/cross-compilation.patch | 19 +++++++++++++++++++
2 files changed, 24 insertions(+), 4 deletions(-)
<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 6aeb6dd..0a6cdd7 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;'>@@ -14,11 +14,12 @@ php.branches 5.3 5.4 5.5 5.6 7.0 7.1 7.2
</span> php.pecl yes
if {[vercmp ${php.branch} 7] >= 0} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- version 2.2.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 4.0.3
</span> revision 0
<span style='display:block; white-space:pre;background:#ffe0e0;'>- checksums rmd160 964b4fa107c8946996c0d9eccbfc783441c004e4 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 04d519569e94a642ee80dd30eaa4a85b4ed54a526d488c63e384633186f29bc4 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 853688
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 eeb0678cf3bd90fe12c7889d476c0686873de539 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 d0964156a37202e975696e3aeeb7e177996763ae47c36d2273b963b59a80c1bd \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 903874
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append cross-compilation.patch
</span> } elseif {[vercmp ${php.branch} 5.5] >= 0} {
# https://github.com/swoole/swoole-src/issues/1783
version 2.0.11
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/php/php-swoole/files/cross-compilation.patch b/php/php-swoole/files/cross-compilation.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..1e46346
</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/cross-compilation.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,19 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fix macOS universal and cross-compilation builds.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://github.com/swoole/swoole-src/issues/1781
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- config.m4.orig 2018-07-20 06:38:27.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ config.m4 2018-07-29 16:57:17.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -543,5 +543,13 @@
</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;'>+- if test "$SW_CPU" = 'x86_64'; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if test "$SW_OS" = 'MAC'; then
</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;'>++ SW_CONTEXT_ASM_FILE="arm_aapcs_macho_gas.S"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ elif test "$SW_CPU" = 'arm64'; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ SW_CONTEXT_ASM_FILE="arm64_aapcs_macho_gas.S"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ SW_CONTEXT_ASM_FILE="combined_sysv_macho_gas.S"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ elif test "$SW_CPU" = 'x86_64'; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test "$SW_OS" = 'LINUX'; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SW_CONTEXT_ASM_FILE="x86_64_sysv_elf_gas.S"
</span></pre><pre style='margin:0'>
</pre>