diff options
author | Wu Junyu | 2022-10-21 00:15:04 +0800 |
---|---|---|
committer | Wu Junyu | 2022-10-21 00:15:04 +0800 |
commit | 7492014aa858d48b0deb9802f3106df8bb074e72 (patch) | |
tree | ed7eb8a14be2ccb080a64c41f0c836d3b654c69d | |
parent | 756c116d6daee0df4b250cc07603399346948e9e (diff) | |
download | aur-7492014aa858d48b0deb9802f3106df8bb074e72.tar.gz |
Fix dependencies and apply version patch
-rw-r--r-- | version.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/version.patch b/version.patch new file mode 100644 index 000000000000..cdb00ad836af --- /dev/null +++ b/version.patch @@ -0,0 +1,18 @@ +@@ -185,7 +185,7 @@ + if(mrb_obj_is_kind_of(mrb, obj, mrb->eException_class)) { + throw RuntimeError("A ruby exception occurred: %1").arg(inspect(obj)); + } +-#elif MRUBY_RELEASE_MAJOR == 2 ++#elif MRUBY_RELEASE_MAJOR >= 2 + if(mrb_class(mrb, obj)->tt == MRB_TT_EXCEPTION) { + throw RuntimeError("A ruby exception occurred: %1").arg(inspect(obj)); + } +@@ -340,7 +340,7 @@ + return rv.toList(); + } + +-#elif MRUBY_RELEASE_MAJOR == 2 ++#elif MRUBY_RELEASE_MAJOR >= 2 + + + #define CASE(insn,ops) case insn: FETCH_ ## ops (); L_ ## insn
\ No newline at end of file |