File qemu.gnutls.patch of Package qemu-7.2
From: Olaf Hering <olaf@aepfle.de>
Date: Sat, 8 Jan 2022 11:07:45 +0100
Subject: gnutls
Signed-off-by: Olaf Hering <olaf@aepfle.de>
---
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/meson.build
+++ b/meson.build
@@ -1173,25 +1173,25 @@ if get_option('gnutls').enabled() or (get_option('gnutls').auto() and have_syste
#
# If newer enough gnutls isn't available, we can
# still use a different crypto backend to satisfy
# the platform support requirements
gnutls_crypto = dependency('gnutls', version: '>=3.6.14',
method: 'pkg-config',
required: false,
kwargs: static_kwargs)
if gnutls_crypto.found()
gnutls = gnutls_crypto
else
# Our min version if all we need is TLS
- gnutls = dependency('gnutls', version: '>=3.5.18',
+ gnutls = dependency('gnutls',
method: 'pkg-config',
required: get_option('gnutls'),
kwargs: static_kwargs)
endif
endif
# We prefer use of gnutls for crypto, unless the options
# explicitly asked for nettle or gcrypt.
#
# If gnutls isn't available for crypto, then we'll prefer
# gcrypt over nettle for performance reasons.
gcrypt = not_found