mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 19:14:30 +04:00
Ruby 3.4.0 is a major release that introduces several changes: - Adds `it` block parameter reference - Switches default parser to Prism - Implements Happy Eyeballs Version 2 in the socket library - Improves YJIT - Adds Modular GC - And more (see changelog for full details) Subsequent minor releases include: - 3.4.1: fixes version description - 3.4.2: routine bugfix release - 3.4.3: routine bugfix release - 3.4.4: routine bugfix release (Linux-specific) - 3.4.5: routine bugfix release, adds GCC 15 support Packaging changes: - (NEW) ruby-repl_type_completor (packaging the repl_type_completor gem) - Refreshed package dependencies - Updated `ruby_missingfiles` (detects unpacked files) to use `apk` - Refactored `ruby_find_pkgsdeps` (detects inter-package dependencies) to use the Ruby parser (Prism) instead of heuristic string matching Changelog: https://www.ruby-lang.org/en/news/2024/12/25/ruby-3-4-0-released/ Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
34 lines
849 B
Diff
34 lines
849 B
Diff
From dfb22e4d6662bf72879eda806eaa78c7b52b519e Mon Sep 17 00:00:00 2001
|
|
From: Khem Raj <raj.khem@gmail.com>
|
|
Date: Tue, 25 Jan 2022 20:29:14 -0800
|
|
Subject: [PATCH] vm_dump.c: Define REG_S1 and REG_S2 for musl/riscv
|
|
|
|
These defines are missing in musl, there is a possible
|
|
patch to add them to musl, but we need a full list of
|
|
these names for mcontext that can be added once for all
|
|
|
|
Upstream-Status: Inappropriate [musl bug]
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
---
|
|
vm_dump.c | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
--- a/vm_dump.c
|
|
+++ b/vm_dump.c
|
|
@@ -40,6 +40,15 @@
|
|
|
|
#define MAX_POSBUF 128
|
|
|
|
+#ifdef __riscv
|
|
+#ifndef REG_S1
|
|
+#define REG_S1 9
|
|
+#endif
|
|
+#ifndef REG_S2
|
|
+#define REG_S2 18
|
|
+#endif
|
|
+#endif
|
|
+
|
|
#define VM_CFP_CNT(ec, cfp) \
|
|
((rb_control_frame_t *)((ec)->vm_stack + (ec)->vm_stack_size) - \
|
|
(rb_control_frame_t *)(cfp))
|