commit:     85456edb865e51a3c194dae3ff9568249113dd6c
Author:     Virgil Dupras <vdupras <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  6 13:27:27 2018 +0000
Commit:     Virgil Dupras <vdupras <AT> gentoo <DOT> org>
CommitDate: Mon Aug  6 13:27:27 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85456edb

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 2f77fa5a000..1dfce9480e9 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);

Reply via email to