[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
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270366

            Bug ID: 270366
           Summary: lang/ruby31: patch to fix build with libressl 3.6.2
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ruby@FreeBSD.org
          Reporter: robert.kruus@gov.sk.ca
          Assignee: ruby@FreeBSD.org
             Flags: maintainer-feedback?(ruby@FreeBSD.org)

Created attachment 241014
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=241014&action=edit
files/patch-ext_openssl_ossl__pkey.c

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@korsgaard.com/
and the patch here:
https://lore.kernel.org/buildroot/20220611114053.89542-1-fontaine.fabrice@gmail.com/

-- 
You are receiving this mail because:
You are the assignee for the bug.