summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVirgil Dupras <vdupras@gentoo.org>2018-08-06 09:27:27 -0400
committerVirgil Dupras <vdupras@gentoo.org>2018-08-06 09:27:27 -0400
commit85456edb865e51a3c194dae3ff9568249113dd6c (patch)
treebe5bf4a8137214259e4f14ac8c6c42218610d62d /app-emulation
parentapp-i18n/uim: fix build on x86 (diff)
downloadgentoo-85456edb865e51a3c194dae3ff9568249113dd6c.tar.gz
gentoo-85456edb865e51a3c194dae3ff9568249113dd6c.tar.bz2
gentoo-85456edb865e51a3c194dae3ff9568249113dd6c.zip
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
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/spice/files/spice-0.14.0-libressl_fix.patch2
1 files changed, 1 insertions, 1 deletions
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 <gio/gio.h>
-#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);