eva 15/06/09 10:32:27 Added: vinagre-3.16.1-freerdp.patch Log: Version bump for Gnome 3.16. (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key C6085806)
Revision Changes Path 1.1 net-misc/vinagre/files/vinagre-3.16.1-freerdp.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/vinagre/files/vinagre-3.16.1-freerdp.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/vinagre/files/vinagre-3.16.1-freerdp.patch?rev=1.1&content-type=text/plain Index: vinagre-3.16.1-freerdp.patch =================================================================== >From 89cc8bfeaf47a24c57616021915b30bbc4d12d53 Mon Sep 17 00:00:00 2001 From: Nick Andrade <[email protected]> Date: Sat, 16 May 2015 08:03:29 +0100 Subject: [PATCH] Fix building against newer FreeRDP versions https://bugzilla.gnome.org/show_bug.cgi?id=749124 --- plugins/rdp/vinagre-rdp-tab.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/plugins/rdp/vinagre-rdp-tab.c b/plugins/rdp/vinagre-rdp-tab.c index c4c11f8..690a580 100644 --- a/plugins/rdp/vinagre-rdp-tab.c +++ b/plugins/rdp/vinagre-rdp-tab.c @@ -887,7 +887,6 @@ open_freerdp (VinagreRdpTab *rdp_tab) settings->RdpSecurity = TRUE; settings->TlsSecurity = TRUE; settings->NlaSecurity = TRUE; - settings->DisableEncryption = FALSE; settings->EncryptionMethods = ENCRYPTION_METHOD_40BIT | ENCRYPTION_METHOD_128BIT | ENCRYPTION_METHOD_FIPS; settings->EncryptionLevel = ENCRYPTION_LEVEL_CLIENT_COMPATIBLE; #else @@ -898,6 +897,12 @@ open_freerdp (VinagreRdpTab *rdp_tab) settings->encryption_method = ENCRYPTION_METHOD_40BIT | ENCRYPTION_METHOD_128BIT | ENCRYPTION_METHOD_FIPS; settings->encryption_level = ENCRYPTION_LEVEL_CLIENT_COMPATIBLE; #endif +#include <freerdp/version.h> +#if (FREERDP_VERSION_MAJOR == 1 && FREERDP_VERSION_MINOR >= 2 && FREERDP_VERSION_REVISION >= 1) + settings->UseRdpSecurityLayer = FALSE; +#else + settings->DisableEncryption = FALSE; +#endif /* Set display size */ #if HAVE_FREERDP_1_1 -- 2.4.0
