<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/f58e98a16ae35846e6cbdd0b783c4737e5d4ec53">https://github.com/macports/macports-ports/commit/f58e98a16ae35846e6cbdd0b783c4737e5d4ec53</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 f58e98a16ae kakoune: unbreak build on ppc
</span>f58e98a16ae is described below
<span style='display:block; white-space:pre;color:#808000;'>commit f58e98a16ae35846e6cbdd0b783c4737e5d4ec53
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Mon Jun 26 09:38:00 2023 +0800
<span style='display:block; white-space:pre;color:#404040;'> kakoune: unbreak build on ppc
</span>---
editors/kakoune/Portfile | 4 ++++
editors/kakoune/files/patch-unbreak-ppc.diff | 24 ++++++++++++++++++++++++
2 files changed, 28 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/editors/kakoune/Portfile b/editors/kakoune/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 0ce4219c2a7..92717125a74 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/editors/kakoune/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/editors/kakoune/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -44,6 +44,10 @@ checksums rmd160 1b30da34e261db28c0f17d280e927c6748ae5bfb \
</span> sha256 f3eab1e663763c62881d553ad6263526940fa3ca357e0183767885415fc80b03 \
size 679272
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Until someone comes up with a better one at least.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://github.com/mawww/kakoune/issues/4937
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-unbreak-ppc.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # error: 'uncaught_exceptions' is unavailable: introduced in macOS 10.12
if {${os.platform} eq "darwin" && ${os.major} < 16} {
post-patch {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/editors/kakoune/files/patch-unbreak-ppc.diff b/editors/kakoune/files/patch-unbreak-ppc.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..64f8dfe889d
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/editors/kakoune/files/patch-unbreak-ppc.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;'>+--- src/regex_impl.hh.orig 2022-10-31 06:05:58.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/regex_impl.hh 2023-06-26 09:32:37.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -117,7 +117,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mutable uint16_t last_step;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Param param;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ };
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifndef __ppc__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ static_assert(sizeof(Instruction) == 8);
</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;'>+ explicit operator bool() const { return not instructions.empty(); }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/regex_impl.cc.orig 2022-10-31 06:05:58.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/regex_impl.cc 2023-06-26 09:32:05.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -83,7 +83,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Quantifier quantifier;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ uint16_t filler = 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ };
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifndef __ppc__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ static_assert(sizeof(Node) == 16, "");
</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;'>+ Vector<Node, MemoryDomain::Regex> nodes;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>