From: Virgil Dupras Date: Mon, 6 Aug 2018 13:27:27 +0000 (-0400) Subject: app-emulation/spice: fix build for libressl 2.7+ X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=85456edb865e51a3c194dae3ff9568249113dd6c;p=gentoo.git 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 --- 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);