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: Author: mfechner Date: Sat Dec 19 13:04:33 UTC 2020 New revision: 558450 URL: https://svnweb.freebsd.org/changeset/ports/558450 Log: Upgrade to 3.1.16. Changelog: https://github.com/codahale/bcrypt-ruby/blob/master/CHANGELOG PR: 248758 Submitted by: theis@gmx.at Changes: head/security/rubygem-bcrypt/Makefile head/security/rubygem-bcrypt/distinfo
Committed update to 3.1.16, thanks!