diff --git a/srcpkgs/spice-gtk/patches/libressl.patch b/srcpkgs/spice-gtk/patches/libressl.patch deleted file mode 100644 index fe8b3120d1b..00000000000 --- a/srcpkgs/spice-gtk/patches/libressl.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- src/bio-gio.c.orig 2017-08-03 12:09:57.580574783 +0200 -+++ src/bio-gio.c 2017-08-03 12:10:18.768828015 +0200 -@@ -23,7 +23,7 @@ - #include "spice-util.h" - #include "bio-gio.h" - --#if OPENSSL_VERSION_NUMBER < 0x10100000 -+#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER) - static BIO_METHOD one_static_bio; - - static int BIO_meth_set_read(BIO_METHOD *biom, ---- src/spice-channel.c.orig 2017-08-03 12:11:21.042572278 +0200 -+++ src/spice-channel.c 2017-08-03 12:11:45.780867937 +0200 -@@ -55,7 +55,7 @@ - static void spice_channel_send_migration_handshake(SpiceChannel *channel); - static gboolean channel_connect(SpiceChannel *channel, gboolean tls); - --#if OPENSSL_VERSION_NUMBER < 0x10100000 -+#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER) - static RSA *EVP_PKEY_get0_RSA(EVP_PKEY *pkey) - { - if (pkey->type != EVP_PKEY_RSA) { ---- spice-common/common/ssl_verify.c.orig 2017-08-03 12:13:04.694811076 +0200 -+++ spice-common/common/ssl_verify.c 2017-08-03 12:13:17.514964295 +0200 -@@ -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); diff --git a/srcpkgs/spice-gtk/template b/srcpkgs/spice-gtk/template index 00e43367f04..15db3aee8fb 100644 --- a/srcpkgs/spice-gtk/template +++ b/srcpkgs/spice-gtk/template @@ -1,7 +1,7 @@ # Template file for 'spice-gtk' pkgname=spice-gtk version=0.34 -revision=2 +revision=3 build_style=gnu-configure configure_args="--disable-static --enable-vala $(vopt_enable gir introspection) --enable-smartcard=no --enable-usbredir --enable-polkit=yes