Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 472588 Details for
Bug 609474
net-misc/vinagre-3.22.0-r1[rdp] won't build with net-misc/freerdp-2.0.0_pre20161219
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
vinagre-3.22.0-freerdp.patch
vinagre-3.22.0-freerdp.patch (text/plain), 3.43 KB, created by
pva
on 2017-05-14 15:14:00 UTC
(
hide
)
Description:
vinagre-3.22.0-freerdp.patch
Filename:
MIME Type:
Creator:
pva
Created:
2017-05-14 15:14:00 UTC
Size:
3.43 KB
patch
obsolete
>diff --git c/plugins/rdp/vinagre-rdp-tab.c i/plugins/rdp/vinagre-rdp-tab.c >index b731f9b20ec910cc..13100de3dc0e07e1 100644 >--- c/plugins/rdp/vinagre-rdp-tab.c >+++ i/plugins/rdp/vinagre-rdp-tab.c >@@ -476,16 +476,17 @@ frdp_drawing_area_draw (GtkWidget *area, > return TRUE; > } > >-static void >+static BOOL > frdp_begin_paint (rdpContext *context) > { > rdpGdi *gdi = context->gdi; > > gdi->primary->hdc->hwnd->invalid->null = 1; > gdi->primary->hdc->hwnd->ninvalid = 0; >+ return TRUE; > } > >-static void >+static BOOL > frdp_end_paint (rdpContext *context) > { > VinagreRdpTab *rdp_tab = ((frdpContext *) context)->rdp_tab; >@@ -495,7 +496,7 @@ frdp_end_paint (rdpContext *context) > gint x, y, w, h; > > if (gdi->primary->hdc->hwnd->invalid->null) >- return; >+ return TRUE; > > x = gdi->primary->hdc->hwnd->invalid->x; > y = gdi->primary->hdc->hwnd->invalid->y; >@@ -517,6 +518,7 @@ frdp_end_paint (rdpContext *context) > { > gtk_widget_queue_draw_area (priv->display, x, y, w, h); > } >+ return TRUE; > } > > static BOOL >@@ -587,15 +589,7 @@ frdp_post_connect (freerdp *instance) > rdpGdi *gdi; > int stride; > >- gdi_init (instance, >-#if defined(FREERDP_VERSION_MAJOR) && defined(FREERDP_VERSION_MINOR) && \ >- !(FREERDP_VERSION_MAJOR > 1 || (FREERDP_VERSION_MAJOR == 1 && \ >- FREERDP_VERSION_MINOR >= 2)) >- CLRBUF_24BPP, >-#else >- CLRBUF_32BPP, >-#endif >- NULL); >+ gdi_init (instance, PIXEL_FORMAT_BGRA32); > gdi = instance->context->gdi; > > instance->update->BeginPaint = frdp_begin_paint; >@@ -934,11 +928,13 @@ frdp_authenticate (freerdp *instance, > return TRUE; > } > >-static BOOL >+static DWORD > frdp_certificate_verify (freerdp *instance, >- char *subject, >- char *issuer, >- char *fingerprint) >+ const char *common_name, >+ const char *subject, >+ const char *issuer, >+ const char *fingerprint, >+ BOOL host_mismatch) > { > VinagreTab *tab = VINAGRE_TAB (((frdpContext *) instance->context)->rdp_tab); > GtkBuilder *builder; >@@ -968,17 +964,20 @@ frdp_certificate_verify (freerdp *instance, > gtk_widget_hide (dialog); > > >- return response == GTK_RESPONSE_YES; >+ return (response == GTK_RESPONSE_YES) ? 1 : 0; > } > > > #if HAVE_FREERDP_1_1 >-static BOOL >+static DWORD > frdp_changed_certificate_verify (freerdp *instance, >- char *subject, >- char *issuer, >- char *new_fingerprint, >- char *old_fingerprint) >+ const char *common_name, >+ const char *subject, >+ const char *issuer, >+ const char *new_fingerprint, >+ const char *old_subject, >+ const char *old_issuer, >+ const char *old_fingerprint) > { > VinagreTab *tab = VINAGRE_TAB (((frdpContext *) instance->context)->rdp_tab); > GtkBuilder *builder; >@@ -1023,7 +1022,7 @@ frdp_changed_certificate_verify (freerdp *instance, > gtk_widget_hide (dialog); > > >- return response == GTK_RESPONSE_YES; >+ return (response == GTK_RESPONSE_YES) ? 1 : 0; > } > #endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 609474
:
463894
| 472588 |
472600