<pre style='margin:0'>
Takeshi Enomoto (tenomoto) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/108d5f37b5a09cc22ce7b81199e00cd38007e18c">https://github.com/macports/macports-ports/commit/108d5f37b5a09cc22ce7b81199e00cd38007e18c</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 108d5f37b5a ncarg: fix segfault on aarch64
</span>108d5f37b5a is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 108d5f37b5a09cc22ce7b81199e00cd38007e18c
</span>Author: Takeshi Enomoto <takeshi@macports.org>
AuthorDate: Sat Mar 11 09:27:56 2023 +0900

<span style='display:block; white-space:pre;color:#404040;'>    ncarg: fix segfault on aarch64
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Closes: https://trac.macports.org/ticket/66912
</span><span style='display:block; white-space:pre;color:#404040;'>    See: https://github.com/NCAR/ncl/issues/187
</span>---
 science/ncarg/Portfile                               |  3 ++-
 .../ncarg/files/patch-ni-src-lib-hlu-Format.c.diff   | 20 ++++++++++++++++++++
 2 files changed, 22 insertions(+), 1 deletion(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/ncarg/Portfile b/science/ncarg/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index fb64084bf13..f2be7b5c0c0 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/ncarg/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/ncarg/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -11,7 +11,7 @@ compilers.allow_arguments_mismatch \
</span> 
 name                        ncarg
 version                     6.6.2
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision                    16
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision                    17
</span> epoch                       1
 set version_no_dot [join [split ${version} "."] ""]
 categories                  science
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -89,6 +89,7 @@ patchfiles                  patch-Configure.diff \
</span>                             patch-ncarg2d-src-bin-tdpackdemo-yMakefile.diff \
                             patch-ngmath-src-bin-nnalg-yMakefile.diff \
                             patch-ni-src-lib-nfpfort-yMakefile.diff \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+                            patch-ni-src-lib-hlu-Format.c.diff \
</span>                             patch-ni-src-ncl-global-vars.diff \
                             patch-ncarg2d-src-libncarg_gks-bwi-argb2ci.f.diff
 if {$build_arch eq "x86_64" | $build_arch eq "arm64"} {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/ncarg/files/patch-ni-src-lib-hlu-Format.c.diff b/science/ncarg/files/patch-ni-src-lib-hlu-Format.c.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..974e6fb1ec8
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/ncarg/files/patch-ni-src-lib-hlu-Format.c.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,20 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- ni/src/lib/hlu/Format.c.orig   2019-02-28 08:44:39.000000000 +0900
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ ni/src/lib/hlu/Format.c        2023-03-09 15:33:04.000000000 +0900
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -940,7 +940,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+         NGCALLF(cpinrc,CPINRC)();
</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;'>+-          int len1,len2,len3,len4;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++          long len1,len2,len3,len4;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+           NGstring cex1_f;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+           NGstring cex2_f;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+           NGstring cex3_f;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1283,7 +1283,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+         NGCALLF(cpinrc,CPINRC)();
</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;'>+-          int len1,len2,len3,len4;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++          long len1,len2,len3,len4;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+           NGstring cex1_f;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+           NGstring cex2_f;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+           NGstring cex3_f;
</span></pre><pre style='margin:0'>

</pre>