<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/83f0c71c435ad7eb5799fa1f13c4e31cca57d2d3">https://github.com/macports/macports-ports/commit/83f0c71c435ad7eb5799fa1f13c4e31cca57d2d3</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 83f0c71c435 asl: fix build on arm64
</span>83f0c71c435 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 83f0c71c435ad7eb5799fa1f13c4e31cca57d2d3
</span>Author: Kirill A. Korinsky <kirill@korins.ky>
AuthorDate: Sun Aug 27 01:08:09 2023 +0200

<span style='display:block; white-space:pre;color:#404040;'>    asl: fix build on arm64
</span>---
 math/asl/Portfile                    |  2 ++
 math/asl/files/patch-darwin-arm.diff | 26 ++++++++++++++++++++++++++
 2 files changed, 28 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/asl/Portfile b/math/asl/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index fe171acf2d7..3a07a73bf36 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/asl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/asl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -22,6 +22,8 @@ checksums                       rmd160  911acfa42bd5e57d037141400327da8152e7afed
</span>                                 sha256  d789ade0be2595516ff10fd84c7724a10a89bb8c7dceefcbc2ba48426ec05909 \
                                 size    1575275
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append               patch-darwin-arm.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.args-append           -DBUILD_SHARED_LIBS=ON \
                                 -DBUILD_CPP=ON
 
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/asl/files/patch-darwin-arm.diff b/math/asl/files/patch-darwin-arm.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..c719b1b9dff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/asl/files/patch-darwin-arm.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,26 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://github.com/ampl/asl/pull/15
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git support/cmake/setArchitecture.cmake support/cmake/setArchitecture.cmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index c8f9819..dd2904a 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- support/cmake/setArchitecture.cmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ support/cmake/setArchitecture.cmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -74,6 +74,8 @@ function(targetArchitecture output_var)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+         set(osx_arch_i386 TRUE)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+       elseif("${osx_arch}" STREQUAL "x86_64")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+         set(osx_arch_x86_64 TRUE)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++      elseif("${osx_arch}" STREQUAL "arm64")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++        set(osx_arch_arm64 TRUE)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+       elseif("${osx_arch}" STREQUAL "ppc64" AND ppc_support)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+         set(osx_arch_ppc64 TRUE)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+       else()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -94,6 +96,10 @@ function(targetArchitecture output_var)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+       list(APPEND ARCH x86_64)
</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;'>++    if(osx_arch_arm64)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++      list(APPEND ARCH arm64)
</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;'>+     if(osx_arch_ppc64)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+       list(APPEND ARCH ppc64)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     endif()
</span></pre><pre style='margin:0'>

</pre>