ASR_BASE

Change-Id: Icf3719cc0afe3eeb3edc7fa80a2eb5199ca9dda1
diff --git a/external/subpack/lang/ruby/patches/100-musl.patch b/external/subpack/lang/ruby/patches/100-musl.patch
new file mode 100644
index 0000000..21645b7
--- /dev/null
+++ b/external/subpack/lang/ruby/patches/100-musl.patch
@@ -0,0 +1,17 @@
+Rebased on https://patch-diff.githubusercontent.com/raw/ruby/ruby/pull/2995.patch
+which was originally based on this file.
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -2471,7 +2471,10 @@ AS_CASE([$rb_cv_coroutine], [yes|''], [
+             rb_cv_coroutine=copy
+         ],
+         [
+-            rb_cv_coroutine=ucontext
++            AC_CHECK_FUNCS([getcontext swapcontext makecontext],
++                [rb_cv_coroutine=ucontext],
++                [rb_cv_coroutine=copy; break]
++            )
+         ]
+     )
+     AC_MSG_RESULT(${rb_cv_coroutine})