app-emulation/spice: Update patch
authorMatthias Maier <tamiko@gentoo.org>
Mon, 19 Mar 2018 15:40:26 +0000 (10:40 -0500)
committerMatthias Maier <tamiko@gentoo.org>
Mon, 19 Mar 2018 15:40:26 +0000 (10:40 -0500)
Thanks for the bug report and the suggested fix!

Closes: https://bugs.gentoo.org/647406
Package-Manager: Portage-2.3.24, Repoman-2.3.6

app-emulation/spice/files/spice-0.14.0-openssl1.1_fix.patch

index 5854d8788c75135706d806da7383c36131ca800c..c1c5a1c04ba15df56f95f223f4b47d214b0641d2 100644 (file)
@@ -13,7 +13,7 @@
  
  static gpointer openssl_global_init(gpointer arg)
  {
-+#if OPENSSL_VERSION_NUMBER >= 0x10100000L
++#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined (LIBRESSL_VERSION_NUMBER)
 +    OPENSSL_init_ssl(0, NULL);
 +#else
      SSL_library_init();