freerdp: rebuild for libressl-2.9.2.
This commit is contained in:
parent
b800d3599c
commit
70d81e270a
2 changed files with 16 additions and 1 deletions
15
srcpkgs/freerdp/patches/libressl.patch
Normal file
15
srcpkgs/freerdp/patches/libressl.patch
Normal file
|
@ -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)
|
||||||
|
{
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'freerdp'
|
# Template file for 'freerdp'
|
||||||
pkgname=freerdp
|
pkgname=freerdp
|
||||||
version=2.0.0rc4
|
version=2.0.0rc4
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="FreeRDP-${version/r/-r}"
|
wrksrc="FreeRDP-${version/r/-r}"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DWITH_ALSA=ON -DWITH_CUPS=OFF -DWITH_FFMPEG=ON
|
configure_args="-DWITH_ALSA=ON -DWITH_CUPS=OFF -DWITH_FFMPEG=ON
|
||||||
|
|
Loading…
Reference in a new issue