<pre style='margin:0'>
Marius Schamschula (Schamschula) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/5cbb30562d3d15bb793618df5ac3b66171bda4db">https://github.com/macports/macports-ports/commit/5cbb30562d3d15bb793618df5ac3b66171bda4db</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 5cbb30562d3 gnutls: fix arm build
</span>5cbb30562d3 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 5cbb30562d3d15bb793618df5ac3b66171bda4db
</span>Author: Marius Schamschula <mps@macports.org>
AuthorDate: Tue Mar 22 13:49:07 2022 -0500
<span style='display:block; white-space:pre;color:#404040;'> gnutls: fix arm build
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://gitlab.com/gnutls/gnutls/-/issues/1317
</span>---
devel/gnutls/Portfile | 3 +++
.../files/patch-lib-accelerated-aarch64-Makefile.am.diff | 11 +++++++++++
2 files changed, 14 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/gnutls/Portfile b/devel/gnutls/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 132006992e1..fc51882b7b8 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/gnutls/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/gnutls/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -98,6 +98,9 @@ variant dane description {Build libdane using unbound libraries} {
</span> if {${os.platform} eq "darwin" && ${os.major} > 19 && ${os.arch} eq "arm"} {
depends_build-append port:libtool
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # See: https://gitlab.com/gnutls/gnutls/-/issues/1317
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-lib-accelerated-aarch64-Makefile.am.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> use_autoreconf yes
autoreconf.args --install --verbose --force
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/gnutls/files/patch-lib-accelerated-aarch64-Makefile.am.diff b/devel/gnutls/files/patch-lib-accelerated-aarch64-Makefile.am.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..bcd04b0a5a2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/gnutls/files/patch-lib-accelerated-aarch64-Makefile.am.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;'>+--- lib/accelerated/aarch64/Makefile.am.orig 2021-04-19 02:28:28.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ lib/accelerated/aarch64/Makefile.am 2022-03-22 13:39:44.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -34,7 +34,7 @@
</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;'>+ #ensure that we have all aarch64 instruction sets enabled for the assembler
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-AM_CCASFLAGS = -Wa,-march=all
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AM_CCASFLAGS = -Wa
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ EXTRA_DIST = README
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>