diff --git a/srcpkgs/freerdp/patches/libressl.patch b/srcpkgs/freerdp/patches/libressl.patch new file mode 100644 index 0000000000..0ef982d948 --- /dev/null +++ b/srcpkgs/freerdp/patches/libressl.patch @@ -0,0 +1,15 @@ +source: $OpenBSD: patch-libfreerdp_crypto_tls_c,v 1.3 2018/10/24 17:10:22 jsing Exp $ + +Stop reaching into libssl internals to send TLS alerts. + +--- libfreerdp/crypto/tls.c 2018-11-20 11:43:51.000000000 +0100 ++++ libfreerdp/crypto/tls.c 2019-05-10 01:49:19.466050550 +0200 +@@ -1026,7 +1026,7 @@ + * FIXME: The following code does not work on OpenSSL > 1.1.0 because the + * SSL struct is opaqe now + */ +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2080000fL) + + if (tls->alertDescription != TLS_ALERT_DESCRIPTION_CLOSE_NOTIFY) + { diff --git a/srcpkgs/freerdp/template b/srcpkgs/freerdp/template index ef4f443d9d..09c64f6a81 100644 --- a/srcpkgs/freerdp/template +++ b/srcpkgs/freerdp/template @@ -1,7 +1,7 @@ # Template file for 'freerdp' pkgname=freerdp version=2.0.0rc4 -revision=1 +revision=2 wrksrc="FreeRDP-${version/r/-r}" build_style=cmake configure_args="-DWITH_ALSA=ON -DWITH_CUPS=OFF -DWITH_FFMPEG=ON