openssl: add patch for @1.1.1q. fixed issues #31545 (#31575)

This commit is contained in:
牟展佑 2022-07-15 10:29:45 +08:00 committed by GitHub
parent 6f46345b60
commit 123c405e11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -110,6 +110,10 @@ class Openssl(Package): # Uses Fake Autotools, should subclass Package
depends_on('ca-certificates-mozilla', type=('build', 'run'), when='certs=mozilla') depends_on('ca-certificates-mozilla', type=('build', 'run'), when='certs=mozilla')
depends_on('nasm', when='platform=windows') depends_on('nasm', when='platform=windows')
patch('https://github.com/openssl/openssl/commit/f9e578e720bb35228948564192adbe3bc503d5fb.patch?full_index=1',
sha256='3fdcf2d1e47c34f3a012f23306322c5a35cad55b180c9b6fb34537b55884645c',
when='@1.1.1q')
@classmethod @classmethod
def determine_version(cls, exe): def determine_version(cls, exe):
output = Executable(exe)('version', output=str, error=str) output = Executable(exe)('version', output=str, error=str)