maintainer-feedback requested: [Bug 270366] lang/ruby31: patch to fix build with libressl 3.6.2

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 20 Mar 2023 17:29:49 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-ruby (Nobody)
<ruby@FreeBSD.org> for maintainer-feedback:
Bug 270366: lang/ruby31: patch to fix build with libressl 3.6.2
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270366



--- Description ---
Building ruby31 with the latest libressl fails with:
ossl_pkey.c:721:62: error: incomplete definition of type 'struct evp_pkey_st'
	EVP_PKEY_asn1_get0_info(NULL, NULL, NULL, NULL, &aname, pkey->ameth);

Patch based off the notes here:
https://lore.kernel.org/buildroot/8482f7db-911e-41ff-8b85-d801362b63f7@korsgaar
d.com/
and the patch here:
https://lore.kernel.org/buildroot/20220611114053.89542-1-fontaine.fabrice@gmail
.com/