<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/425ca72f0905176d0bdf17d2d8d4131e02924a2d">https://github.com/macports/macports-ports/commit/425ca72f0905176d0bdf17d2d8d4131e02924a2d</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 425ca72f0905176d0bdf17d2d8d4131e02924a2d
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Wed Jan 24 05:13:25 2024 +0800
<span style='display:block; white-space:pre;color:#404040;'> mlton: update to 20240119, fix older Intel builds
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes: https://trac.macports.org/ticket/68488
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/40022
</span>---
lang/mlton/Portfile | 22 ++++++++++++++++------
lang/mlton/files/patch-10.6-x86_64.diff | 11 +++++++++++
2 files changed, 27 insertions(+), 6 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/mlton/Portfile b/lang/mlton/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 1e6ad8ba1a9..ec5ba545997 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/mlton/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/mlton/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,8 +6,8 @@ PortGroup github 1.0
</span> PortGroup makefile 1.0
PortGroup openssl 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup MLton mlton fd6d8705780ea6e223c91a6b33553be1633c4eab
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 20231123
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup MLton mlton 2637b22ccdd9cd1268b6b46ff6107066bf8c8888
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 20240119
</span> revision 0
categories lang ml
maintainers {@barracuda156 gmail.com:vital.had} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,9 +21,9 @@ long_description MLton is a whole-program optimizing compiler for the Standar
</span> a complete implementation of the Standard ML Basis Library, various useful libraries, a simple and fast C foreign function interface, \
the ML Basis system for programming with source libraries, and tools such as a lexer generator, a parser generator and a profiler.
homepage http://www.mlton.org
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 28b69a0cc32a6e297599cd6406f3fccd66f15a9d \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 0c3225ca1500d3e9f272bce84c36b7161147228438939caca9b0415262326819 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 14381474
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 9e7285aa2a83e6bec1e17fa4ba05cc6b06d17db8 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 5f71a0ee00baf138988f6a301b036389e089cef9070878a0069de9876f02b9a3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 14381761
</span> github.tarball_from archive
depends_build-append \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -49,11 +49,21 @@ build.env-append SH=${prefix}/bin/bash
</span> compiler.c_standard 2011
compiler.blacklist-append {clang < 900}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# mlton bakes in C compiler into its script, like R does.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# We have to ensure that both mlton-bootstrap and mlton use the identical compiler.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# For now set it to use clang-16 or gcc-13. When newer compilers are enabled,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# it should be done for mlton-bootstrap and mlton together, with revbumping both.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.blacklist-append {macports-clang-1[7-9]} {macports-gcc-1[4-9]}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> platform darwin 10 {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # This is only needed on Rosetta, but will not hurt native 10.6 ppc either.
</span> if {${configure.build_arch} eq "ppc"} {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # This is only needed on Rosetta, but will not hurt native 10.6 ppc either.
</span> patchfiles-append \
patch-rosetta.diff
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif {${configure.build_arch} eq "x86_64"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://trac.macports.org/ticket/68488
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-10.6-x86_64.diff
</span> }
}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/mlton/files/patch-10.6-x86_64.diff b/lang/mlton/files/patch-10.6-x86_64.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..4d34f745b7d
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/mlton/files/patch-10.6-x86_64.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- bin/platform 2023-07-25 04:08:45.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ bin/platform 2024-01-24 05:08:00.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -24,7 +24,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ uname=`uname`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-arch=
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++arch=amd64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case "$uname" in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AIX)
</span></pre><pre style='margin:0'>
</pre>