<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/f8365bd92ff6c374c0d6d999fa48fab31041f93f">https://github.com/macports/macports-ports/commit/f8365bd92ff6c374c0d6d999fa48fab31041f93f</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 f8365bd92ff libticables2: Add Apple Silicon support
</span>f8365bd92ff is described below
<span style='display:block; white-space:pre;color:#808000;'>commit f8365bd92ff6c374c0d6d999fa48fab31041f93f
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Sun Feb 26 22:32:12 2023 -0600
<span style='display:block; white-space:pre;color:#404040;'> libticables2: Add Apple Silicon support
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://trac.macports.org/ticket/66928
</span>---
math/libticables2/Portfile | 5 ++++-
math/libticables2/files/arm64.patch | 24 ++++++++++++++++++++++++
2 files changed, 28 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/libticables2/Portfile b/math/libticables2/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 9ca843e9a6f..bd597632b84 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/libticables2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/libticables2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,3 +1,5 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> PortSystem 1.0
name libticables2
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -8,7 +10,6 @@ maintainers nomaintainer
</span> description TILibs
long_description Utility libraries for TI related apps
homepage http://lpg.ticalc.org/prj_tilp/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span>
master_sites sourceforge:tilp
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -25,6 +26,8 @@ depends_lib port:libticonv \
</span> port:gettext \
path:lib/pkgconfig/glib-2.0.pc:glib2
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles arm64.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> use_autoreconf yes
livecheck.type regex
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/libticables2/files/arm64.patch b/math/libticables2/files/arm64.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..542dc39f836
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/libticables2/files/arm64.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,24 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Add support for Apple Silicon Macs.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://github.com/debrouxl/tilibs/commit/ef41c51363b11521460f33e8c332db7b0a9ca085
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.ac.orig 2016-03-23 06:38:40.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure.ac 2023-02-26 22:30:29.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -140,6 +140,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case "$host" in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ i[[3456]]86-*-*bsd*) ARCH="-D__BSD__ -D__I386__" ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ *-*-*bsd*) ARCH="-D__BSD__" ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ aarch64-apple-darwin*) ARCH="-D__MACOSX__" ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ aarch64-*-linux-*) ARCH="-D__LINUX__" ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ alpha*-*-linux-*) ARCH="-D__ALPHA__ -D__LINUX__" ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ alpha*-*-*-*) ARCH="-D__ALPHA__ -D__LINUX__" ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -166,7 +167,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sh*-*-linux-*) ARCH="-D__LINUX__" ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sparc*-*-linux-*) ARCH="-D__SPARC__ -D__LINUX__" ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sparc*-sun-solaris*) ARCH="-D__SPARC__ -D__SOL__" ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ *) ARCH="ERROR" ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++if test "x$ARCH" = xERROR; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ AC_ERROR([Unhandled target triple, please open a bug report mentioning "$host"])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CFLAGS="$CFLAGS $ARCH"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Ensure MSVC-compatible struct packing convention is used when
</span></pre><pre style='margin:0'>
</pre>