<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/56627097bf20dc5532aa581fea81990a16206f95">https://github.com/macports/macports-ports/commit/56627097bf20dc5532aa581fea81990a16206f95</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 56627097bf2 ruby22: fix build for Tiger/i386
</span>56627097bf2 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 56627097bf20dc5532aa581fea81990a16206f95
</span>Author: Evan Miller <emmiller@gmail.com>
AuthorDate: Tue Nov 2 21:16:11 2021 -0400
<span style='display:block; white-space:pre;color:#404040;'> ruby22: fix build for Tiger/i386
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Patch from @kencu's TigerPorts
</span>---
lang/ruby22/Portfile | 3 +++
lang/ruby22/files/patch-ruby22-tigeri386.diff | 39 +++++++++++++++++++++++++++
2 files changed, 42 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/ruby22/Portfile b/lang/ruby22/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index cb6361f350a..26304a9964c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/ruby22/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/ruby22/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -87,6 +87,9 @@ platform darwin {
</span> if {${os.major} < 10} {
configure.args-append --disable-dtrace
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} == 8} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-ruby22-tigeri386.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
# Ignore minor version for archdir, like i686-darwin9.
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/ruby22/files/patch-ruby22-tigeri386.diff b/lang/ruby22/files/patch-ruby22-tigeri386.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..97621ab8ec4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/ruby22/files/patch-ruby22-tigeri386.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,39 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Context registers on Tiger don't have double underscores.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git signal.c signal.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 1bbf23d..5602a2e 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- signal.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ signal.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -773,9 +773,9 @@ check_stack_overflow(const uintptr_t addr, const ucontext_t *ctx)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # elif defined __APPLE__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # if defined(__LP64__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- const uintptr_t sp = mctx->__ss.__rsp;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ const uintptr_t sp = mctx->ss.rsp;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- const uintptr_t sp = mctx->__ss.__esp;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ const uintptr_t sp = mctx->ss.esp;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # elif defined __FreeBSD__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # if defined(__amd64__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git vm_dump.c vm_dump.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 1a81f96..67e1866 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- vm_dump.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ vm_dump.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -13,6 +13,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "addr2line.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "vm_core.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "iseq.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <ucontext.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* see vm_insnhelper.h for the values */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifndef VMDEBUG
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -836,7 +837,7 @@ print_machine_register(size_t reg, const char *reg_name, int col_count, int max_
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # ifdef __linux__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # define dump_machine_register(reg) (col_count = print_machine_register(mctx->gregs[REG_##reg], #reg, col_count, 80))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # elif defined __APPLE__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-# define dump_machine_register(reg) (col_count = print_machine_register(mctx->__ss.__##reg, #reg, col_count, 80))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# define dump_machine_register(reg) (col_count = print_machine_register(mctx->ss.reg, #reg, col_count, 80))
</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;'>+ static void
</span></pre><pre style='margin:0'>
</pre>