summaryrefslogtreecommitdiff
path: root/net/vinagre/files/patch-plugins_rdp_vinagre-rdp-tab.c
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2018-09-30 11:58:29 +0000
committerKoop Mast <kwm@FreeBSD.org>2018-09-30 11:58:29 +0000
commit951c1f5d1c7354f058f5919d858dbb0c174dc73e (patch)
tree6146e775343aaf339921799078894a48fef9aa15 /net/vinagre/files/patch-plugins_rdp_vinagre-rdp-tab.c
parentRemove expired ports: (diff)
The FreeBSD GNOME team proudly presents GNOME 3.28 for FreeBSD.
The offical GNOME 3.28 release notes can be found at https://help.gnome.org/misc/release-notes/3.28/ Thanks to Antoine Brodin for running the exp-runs. PR: 229761
Notes
Notes: svn path=/head/; revision=480951
Diffstat (limited to 'net/vinagre/files/patch-plugins_rdp_vinagre-rdp-tab.c')
-rw-r--r--net/vinagre/files/patch-plugins_rdp_vinagre-rdp-tab.c23
1 files changed, 8 insertions, 15 deletions
diff --git a/net/vinagre/files/patch-plugins_rdp_vinagre-rdp-tab.c b/net/vinagre/files/patch-plugins_rdp_vinagre-rdp-tab.c
index d218be2d9493..3f0f4d72b80b 100644
--- a/net/vinagre/files/patch-plugins_rdp_vinagre-rdp-tab.c
+++ b/net/vinagre/files/patch-plugins_rdp_vinagre-rdp-tab.c
@@ -1,5 +1,7 @@
---- plugins/rdp/vinagre-rdp-tab.c.orig 2015-10-06 15:40:06 UTC
-+++ plugins/rdp/vinagre-rdp-tab.c
+https://bugzilla.gnome.org/show_bug.cgi?id=775616
+
+--- plugins/rdp/vinagre-rdp-tab.c.orig 2016-12-30 22:55:41.353490000 +0100
++++ plugins/rdp/vinagre-rdp-tab.c 2016-12-30 22:55:49.312382000 +0100
@@ -476,16 +476,18 @@ frdp_drawing_area_draw (GtkWidget *area,
return TRUE;
}
@@ -45,15 +47,15 @@
FREERDP_VERSION_MINOR >= 2))
- CLRBUF_24BPP,
+ CLRBUF_24BPP, NULL
- #else
-- CLRBUF_32BPP,
++#else
+#ifdef CLRBUF_32BPP
+ CLRBUF_32BPP, NULL
-+#else
+ #else
+- CLRBUF_32BPP,
+ PIXEL_FORMAT_BGRA32
-+#endif
#endif
- NULL);
++#endif
+ );
gdi = instance->context->gdi;
@@ -108,12 +110,3 @@
{
VinagreTab *tab = VINAGRE_TAB (((frdpContext *) instance->context)->rdp_tab);
GtkBuilder *builder;
-@@ -1108,7 +1107,7 @@ open_freerdp (VinagreRdpTab *rdp_tab)
- 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)
-+#if (FREERDP_VERSION_MAJOR == 1 && FREERDP_VERSION_MINOR >= 2 && FREERDP_VERSION_REVISION >= 1) || (FREERDP_VERSION_MAJOR == 2)
- settings->UseRdpSecurityLayer = FALSE;
- #else
- settings->DisableEncryption = FALSE;