From 85456edb865e51a3c194dae3ff9568249113dd6c Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Mon, 6 Aug 2018 09:27:27 -0400 Subject: [PATCH] app-emulation/spice: fix build for libressl 2.7+ Closes: https://bugs.gentoo.org/655356 Package-Manager: Portage-2.3.44, Repoman-2.3.10 --- app-emulation/spice/files/spice-0.14.0-libressl_fix.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-emulation/spice/files/spice-0.14.0-libressl_fix.patch b/app-emulation/spice/files/spice-0.14.0-libressl_fix.patch index 2f77fa5a0006..1dfce9480e9c 100644 --- a/app-emulation/spice/files/spice-0.14.0-libressl_fix.patch +++ b/app-emulation/spice/files/spice-0.14.0-libressl_fix.patch @@ -7,7 +7,7 @@ index a9ed650..27aa5d3 100644 #include -#if OPENSSL_VERSION_NUMBER < 0x10100000 -+#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined (LIBRESSL_VERSION_NUMBER) ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L) static const unsigned char *ASN1_STRING_get0_data(const ASN1_STRING *asn1) { return M_ASN1_STRING_data(asn1); -- 2.26.2