<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/0c6c265cf7c41a88171af19e5d9b4412bca13bf8">https://github.com/macports/macports-ports/commit/0c6c265cf7c41a88171af19e5d9b4412bca13bf8</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 0c6c265cf7c odin: update to 0.2024.01
</span>0c6c265cf7c is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 0c6c265cf7c41a88171af19e5d9b4412bca13bf8
</span>Author: Mohamed Akram <mohd.akram@outlook.com>
AuthorDate: Thu Jan 11 03:33:35 2024 +0400

<span style='display:block; white-space:pre;color:#404040;'>    odin: update to 0.2024.01
</span>---
 lang/odin/Portfile                | 18 ++++++++++--------
 lang/odin/files/patch-build.diff  | 25 ++++++++++++++++++-------
 lang/odin/files/patch-raylib.diff | 20 ++++++++++++++++++++
 3 files changed, 48 insertions(+), 15 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/odin/Portfile b/lang/odin/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 9c7475fe09e..1f45ab0ec4c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/odin/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/odin/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,7 +3,7 @@
</span> PortSystem          1.0
 PortGroup           github 1.0
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set ver             2023-07
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set ver             2024-01
</span> github.setup        odin-lang odin ${ver} dev-
 github.tarball_from archive
 version             0.[string map {- .} ${ver}]
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,22 +21,22 @@ long_description    Odin is a general-purpose programming language with \
</span> 
 homepage            https://odin-lang.org/
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set llvm_version    14
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set llvm_version    17
</span> 
 depends_build       port:llvm-${llvm_version}
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums           rmd160  2d675d493f9ccb82a4e369d6586c1cfdd2e2f48a \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    sha256  e32043fa873274e67254c890c30b8e1a538f9934c6482bd4e3bf81c5078e4f08 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    size    62115997
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums           rmd160  29d131eee829a257c58e84fcb12968d9fad4292c \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sha256  b93e64546f710d00dc9cce1a872d023024cb4220df1f8a0607e24ba35daacc53 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    size    66484500
</span> 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles          patch-build.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles          patch-build.diff patch-raylib.diff
</span> 
 compiler.cxx_standard 2014
 
 use_configure       no
 build.pre_args      release
<span style='display:block; white-space:pre;background:#ffe0e0;'>-build.args          ODIN_VERSION=dev-${ver}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.env           LLVM_CONFIG=llvm-config-mp-${llvm_version} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.env           ODIN_VERSION=dev-${ver} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    LLVM_CONFIG=llvm-config-mp-${llvm_version} \
</span>                     CXX=${configure.cxx} \
                     CXXFLAGS=${configure.cxxflags} \
                     CPPFLAGS=${configure.cppflags} \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -46,5 +46,7 @@ destroot {
</span>     xinstall -d ${destroot}${prefix}/libexec/${name}
     copy ${worksrcpath}/${name} ${worksrcpath}/core ${worksrcpath}/vendor \
         ${destroot}${prefix}/libexec/${name}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+    delete \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        {*}[glob ${destroot}${prefix}/libexec/${name}/vendor/raylib/macos*/*.dylib]
</span>     ln -s ../libexec/${name}/${name} ${destroot}${prefix}/bin
 }
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/odin/files/patch-build.diff b/lang/odin/files/patch-build.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 6cf84c85c44..ae0314ed8a5 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/odin/files/patch-build.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/odin/files/patch-build.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,11 +1,22 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- build_odin.sh.orig     2022-08-02 15:15:44.000000000 +0400
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ build_odin.sh  2022-08-02 20:46:00.000000000 +0400
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -46,7 +46,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- build_odin.sh.orig     2024-01-03 22:32:45
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ build_odin.sh  2024-01-11 02:41:23
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -6,8 +6,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ : ${CXXFLAGS=}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ : ${LDFLAGS=}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ : ${LLVM_CONFIG=}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++: ${ODIN_VERSION=dev-$(date +"%Y-%m")}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-CPPFLAGS="$CPPFLAGS -DODIN_VERSION_RAW=\"dev-$(date +"%Y-%m")\""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++CPPFLAGS="$CPPFLAGS -DODIN_VERSION_RAW=\"$ODIN_VERSION\""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CXXFLAGS="$CXXFLAGS -std=c++14"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ DISABLED_WARNINGS="-Wno-switch -Wno-macro-redefined -Wno-unused-value"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LDFLAGS="$LDFLAGS -pthread -lm -lstdc++"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -64,7 +65,7 @@
</span>  
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        LDFLAGS="$LDFLAGS -liconv -ldl"
</span>   CXXFLAGS="$CXXFLAGS $($LLVM_CONFIG --cxxflags --ldflags)"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+        LDFLAGS="$LDFLAGS -liconv -ldl -framework System"
</span> - LDFLAGS="$LDFLAGS -lLLVM-C"
 +      LDFLAGS="$LDFLAGS $($LLVM_CONFIG --libs --system-libs)"
<span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- config_freebsd() {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ FreeBSD)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   CXXFLAGS="$CXXFLAGS $($LLVM_CONFIG --cxxflags --ldflags)"
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/odin/files/patch-raylib.diff b/lang/odin/files/patch-raylib.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..55438635171
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/odin/files/patch-raylib.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;'>+--- vendor/raylib/raylib.odin.orig 2024-01-03 22:32:45
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ vendor/raylib/raylib.odin      2024-01-11 03:26:16
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -139,7 +139,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   when ODIN_ARCH == .arm64 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+           when RAYLIB_SHARED {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                   foreign import lib {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-                          "macos-arm64/libraylib.500.dylib",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++                          "system:raylib",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                           "system:Cocoa.framework",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                           "system:OpenGL.framework",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                           "system:IOKit.framework",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -155,7 +155,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+           when RAYLIB_SHARED {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                   foreign import lib {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-                          "macos/libraylib.500.dylib",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++                          "system:raylib",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                           "system:Cocoa.framework",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                           "system:OpenGL.framework",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                           "system:IOKit.framework",
</span></pre><pre style='margin:0'>

</pre>