It is almost straight-forward, but crypt_r has to be patched out of wrapper.c again.
Version 3.1.15 is a requirement for other rubygems
A commit references this bug:
Date: Sat Dec 19 13:04:33 UTC 2020
New revision: 558450
Upgrade to 3.1.16.
Submitted by: firstname.lastname@example.org
Committed update to 3.1.16, thanks!