<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/fa262522e6cb2dd63c3c2ad845a7444395aea81f">https://github.com/macports/macports-ports/commit/fa262522e6cb2dd63c3c2ad845a7444395aea81f</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 fa262522e6c lfortran: update to 0.34.0
</span>fa262522e6c is described below

<span style='display:block; white-space:pre;color:#808000;'>commit fa262522e6cb2dd63c3c2ad845a7444395aea81f
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Mon Mar 25 16:22:56 2024 +0800

<span style='display:block; white-space:pre;color:#404040;'>    lfortran: update to 0.34.0
</span>---
 lang/lfortran/Portfile                             | 29 ++++++++++++++++------
 ...h-stacktrace.cpp-add-limits.h-for-PATH_MAX.diff | 24 ++++++++++++++++++
 .../files/patch-use-sane-install-dirs.diff         |  8 +++---
 3 files changed, 49 insertions(+), 12 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/lfortran/Portfile b/lang/lfortran/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index fdb5228b5f5..b7dcf7b70d0 100755
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/lfortran/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/lfortran/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -9,7 +9,7 @@ PortGroup               legacysupport 1.1
</span> # clock_gettime
 legacysupport.newest_darwin_requires_legacy 16
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup            lfortran lfortran 0.33.1 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup            lfortran lfortran 0.34.0 v
</span> revision                0
 categories              lang fortran
 maintainers             {@barracuda156 gmail.com:vital.had} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,14 +21,11 @@ long_description        LFortran is a modern open-source interactive Fortran com
</span>                         with the goal to run user’s code on modern architectures such as multi-core CPUs and GPUs.
 homepage                https://lfortran.org
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums               rmd160  f9f76743cd53d7016b31291da1399c26ee7f7df5 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                        sha256  4cd730121a24e8a9b58cb192b66ffdf1e9f27ebeb29e34e0b1ab50771231e1f2 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                        size    2552956
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums               rmd160  f38d5d775319baf732bdd969416b5dce860e62ef \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        sha256  252d4786fb9c29411866e4aee7b5c9dac41df936c156c8eb225cf1e4e4a29578 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        size    2615418
</span> github.tarball_from     archive
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Build system is a bit handicapped.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-cmake.out_of_source     no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> set port_libfmt         libfmt10
 cmake.module_path-append \
                         ${prefix}/lib/${port_libfmt}/cmake
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -49,6 +46,9 @@ patchfiles-append       patch-use-sane-install-dirs.diff \
</span>                         patch-version.diff
 # TODO: add CMake config files.
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://github.com/lfortran/lfortran/pull/3704
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append       patch-stacktrace.cpp-add-limits.h-for-PATH_MAX.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.python        ${prefix}/bin/python${py_ver}
 
 post-patch {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -67,6 +67,7 @@ configure.args-append   -DLFORTRAN_BUILD_ALL=YES \
</span>                         -DWITH_FMT=YES \
                         -DWITH_JSON=YES \
                         -DWITH_LLVM=NO \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+                        -DWITH_MACHO=YES \
</span>                         -DWITH_RUNTIME_LIBRARY=YES \
                         -DWITH_ZLIB=YES
 
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -86,4 +87,16 @@ if {${configure.build_arch} ni [list ppc ppc64]} {
</span> 
 cmake.build_type        Release
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-test.run                yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant kokkos description "Enable Kokkos support" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    depends_lib-append  path:lib/libkokkoscore.dylib:kokkos
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        -DWITH_KOKKOS=YES
</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;'>+default_variants-append +kokkos
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Disabling for now, since one of tests fails.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.run                no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Drop this after Macports 2.9.2 is out:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.ignore_archs       yes
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/lfortran/files/patch-stacktrace.cpp-add-limits.h-for-PATH_MAX.diff b/lang/lfortran/files/patch-stacktrace.cpp-add-limits.h-for-PATH_MAX.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..4bf63c397e6
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/lfortran/files/patch-stacktrace.cpp-add-limits.h-for-PATH_MAX.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,24 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From 107999369f0a5946121e8728b50ae6e1ba7ed96b Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From: barracuda156 <vital.had@gmail.com>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Date: Mon, 25 Mar 2024 16:13:52 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Subject: [PATCH] stacktrace.cpp: add limits.h for PATH_MAX
</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;'>+ src/libasr/stacktrace.cpp | 1 +
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 1 file changed, 1 insertion(+)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git src/libasr/stacktrace.cpp src/libasr/stacktrace.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index c356e4b3f..d5cab7445 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/libasr/stacktrace.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/libasr/stacktrace.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -36,6 +36,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifdef HAVE_LFORTRAN_MACHO
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #  include <mach-o/dyld.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#  include <limits.h> // PATH_MAX
</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;'>+ #ifdef HAVE_LFORTRAN_BFD
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-- 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+2.44.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/lfortran/files/patch-use-sane-install-dirs.diff b/lang/lfortran/files/patch-use-sane-install-dirs.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 6e4cbee163e..2b3165953cc 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/lfortran/files/patch-use-sane-install-dirs.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/lfortran/files/patch-use-sane-install-dirs.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,9 +1,9 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- src/runtime/CMakeLists.txt     2024-01-04 03:42:26.000000000 +0800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ src/runtime/CMakeLists.txt     2024-01-10 14:14:26.000000000 +0800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -94,6 +94,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/runtime/CMakeLists.txt     2024-03-23 14:51:33.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/runtime/CMakeLists.txt     2024-03-25 10:59:51.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -78,6 +78,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   ${CMAKE_Fortran_MODULE_DIRECTORY}/lfortran_intrinsic_math.mod
</span>    ${CMAKE_Fortran_MODULE_DIRECTORY}/lfortran_intrinsic_sin.mod
    ${CMAKE_Fortran_MODULE_DIRECTORY}/lfortran_intrinsic_string.mod
<span style='display:block; white-space:pre;background:#ffe0e0;'>-   ${CMAKE_Fortran_MODULE_DIRECTORY}/lfortran_intrinsic_bit.mod
</span> -  DESTINATION ${CMAKE_INSTALL_LIBDIR}
 +  DESTINATION ${CMAKE_INSTALL_PREFIX}/include/lfortran/finclude
    )
</pre><pre style='margin:0'>

</pre>