diff options
author | Bernard Spil <brnrd@FreeBSD.org> | 2018-04-27 10:34:23 +0000 |
---|---|---|
committer | Bernard Spil <brnrd@FreeBSD.org> | 2018-04-27 10:34:23 +0000 |
commit | 0e57931ef012f2c58d7ebf5fd0f7554a0b078fa5 (patch) | |
tree | 0ef9d9de5b4350e8eebc2cb494eeeb626e00562f /deskutils/spice-gtk | |
parent | 4f170b19be5f7aa1fe781875254602dae62e5559 (diff) | |
download | ports-0e57931ef012f2c58d7ebf5fd0f7554a0b078fa5.tar.gz ports-0e57931ef012f2c58d7ebf5fd0f7554a0b078fa5.zip |
deskutils/spice-gtk: Fix build with LibreSSL 2.7
PR: 227804
Notes
Notes:
svn path=/head/; revision=468416
Diffstat (limited to 'deskutils/spice-gtk')
-rw-r--r-- | deskutils/spice-gtk/files/patch-libressl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/deskutils/spice-gtk/files/patch-libressl b/deskutils/spice-gtk/files/patch-libressl index 98b670bf70f3..3e16849051b1 100644 --- a/deskutils/spice-gtk/files/patch-libressl +++ b/deskutils/spice-gtk/files/patch-libressl @@ -5,7 +5,7 @@ #include "bio-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 < 0x20700000) static BIO_METHOD one_static_bio; static int BIO_meth_set_read(BIO_METHOD *biom, @@ -16,7 +16,7 @@ static gboolean channel_connect(SpiceChannel *channel, gboolean tls); -#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 < 0x20700000) static RSA *EVP_PKEY_get0_RSA(EVP_PKEY *pkey) { if (pkey->type != EVP_PKEY_RSA) { @@ -27,7 +27,7 @@ #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 < 0x20700000) static const unsigned char *ASN1_STRING_get0_data(const ASN1_STRING *asn1) { return M_ASN1_STRING_data(asn1); |