From 4a19d49bf7e4a455c3009fe2c852002a6b85f8cd Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Sun, 19 Nov 2017 19:29:27 +0300 Subject: spice: libressl build patch --- app-emulation/spice/files/spice-libressl.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 app-emulation/spice/files/spice-libressl.patch (limited to 'app-emulation/spice/files') diff --git a/app-emulation/spice/files/spice-libressl.patch b/app-emulation/spice/files/spice-libressl.patch new file mode 100644 index 0000000..2f77fa5 --- /dev/null +++ b/app-emulation/spice/files/spice-libressl.patch @@ -0,0 +1,13 @@ +diff --git a/spice-common/common/ssl_verify.c b/spice-common/common/ssl_verify.c +index a9ed650..27aa5d3 100644 +--- a/spice-common/common/ssl_verify.c ++++ b/spice-common/common/ssl_verify.c +@@ -33,7 +33,7 @@ + #include + #include + +-#if OPENSSL_VERSION_NUMBER < 0x10100000 ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined (LIBRESSL_VERSION_NUMBER) + static const unsigned char *ASN1_STRING_get0_data(const ASN1_STRING *asn1) + { + return M_ASN1_STRING_data(asn1); -- cgit v1.2.3