When I do emerge net-misc/remmina-9999 I get the following error ............ /var/calculate/tmp/portage/net-misc/remmina-9999/work/remmina-9999/remmina-plugins/rdp/rdp_cliprdr.c: In function 'remmina_rdp_cliprdr_process_data_response': /var/calculate/tmp/portage/net-misc/remmina-9999/work/remmina-9999/remmina-plugins/rdp/rdp_cliprdr.c:219:5: warning: implicit declaration of function 'freerdp_UnicodeToAsciiAlloc' /var/calculate/tmp/portage/net-misc/remmina-9999/work/remmina-9999/remmina-plugins/rdp/rdp_cliprdr.c:219:41: error: 'WCHAR' undeclared (first use in this function) /var/calculate/tmp/portage/net-misc/remmina-9999/work/remmina-9999/remmina-plugins/rdp/rdp_cliprdr.c:219:41: note: each undeclared identifier is reported only once for each function it appears in /var/calculate/tmp/portage/net-misc/remmina-9999/work/remmina-9999/remmina-plugins/rdp/rdp_cliprdr.c:219:47: error: expected expression before ')' token /var/calculate/tmp/portage/net-misc/remmina-9999/work/remmina-9999/remmina-plugins/rdp/rdp_cliprdr.c: In function 'remmina_rdp_cliprdr_get_clipboard_data': /var/calculate/tmp/portage/net-misc/remmina-9999/work/remmina-9999/remmina-plugins/rdp/rdp_cliprdr.c:432:5: warning: implicit declaration of function 'freerdp_AsciiToUnicodeAlloc' /var/calculate/tmp/portage/net-misc/remmina-9999/work/remmina-9999/remmina-plugins/rdp/rdp_cliprdr.c:432:42: error: 'CHAR' undeclared (first use in this function) /var/calculate/tmp/portage/net-misc/remmina-9999/work/remmina-9999/remmina-plugins/rdp/rdp_cliprdr.c:432:47: error: expected expression before ')' token Reproducible: Always with USE=freerdp net-misc/remmina-9999 depends on >=net-misc/freerdp-1.0.1_p20120704 net-misc/freerdp-1.0.1_p20120726 among other things provide the following file /usr/include/winpr/wtypes.h that provides the required types Therefore, the following patch solves the problem: --- net-misc/remmina-9999/work/remmina-9999/remmina-plugins/rdp/rdp_cliprdr.c_orig 2012-10-05 13:00:10.190966640 +0300 +++ net-misc/remmina-9999/work/remmina-9999/remmina-plugins/rdp/rdp_cliprdr.c 2012-10-05 12:59:54.737564827 +0300 @@ -27,6 +27,7 @@ #include <freerdp/utils/unicode.h> #include <freerdp/channels/channels.h> #include <freerdp/plugins/cliprdr.h> +#include <winpr/wtypes.h>
Please submit your fix upstream; I'm not going to apply a patch in a live ebuild. I will try to grab another snapshot once I get a working build of freerdp and remmina. https://github.com/FreeRDP/Remmina
Actually, I guess I should probably change the dependency to be >=net-misc/freerdp-9999.
Ok, should be resolved by the new freerdp snapshot I added.