https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278706
Build log:
access/rdp.c:238:39: error: incompatible function pointer types assigning to 'pDesktopResize' (aka 'int (*)(struct rdp_context *)') from 'void (rdpContext *)' (aka 'void (struct rdp_context *)') [-Wincompatible-function-pointer-types]
238 | p_instance->update->DesktopResize = desktopResizeHandler;
| ^ ~~~~~~~~~~~~~~~~~~~~
access/rdp.c:239:36: error: incompatible function pointer types assigning to 'pBeginPaint' (aka 'int (*)(struct rdp_context *)') from 'void (rdpContext *)' (aka 'void (struct rdp_context *)') [-Wincompatible-function-pointer-types]
239 | p_instance->update->BeginPaint = beginPaintHandler;
| ^ ~~~~~~~~~~~~~~~~~
access/rdp.c:240:34: error: incompatible function pointer types assigning to 'pEndPaint' (aka 'int (*)(struct rdp_context *)') from 'void (rdpContext *)' (aka 'void (struct rdp_context *)') [-Wincompatible-function-pointer-types]
240 | p_instance->update->EndPaint = endPaintHandler;
| ^ ~~~~~~~~~~~~~~~
access/rdp.c:427:35: error: incompatible function pointer types assigning to 'pPreConnect' (aka 'int (*)(struct rdp_freerdp *)') from 'bool (freerdp *)' (aka 'bool (struct rdp_freerdp *)') [-Wincompatible-function-pointer-types]
427 | p_sys->p_instance->PreConnect = preConnectHandler;
| ^ ~~~~~~~~~~~~~~~~~
access/rdp.c:428:36: error: incompatible function pointer types assigning to 'pPostConnect' (aka 'int (*)(struct rdp_freerdp *)') from 'bool (freerdp *)' (aka 'bool (struct rdp_freerdp *)') [-Wincompatible-function-pointer-types]
428 | p_sys->p_instance->PostConnect = postConnectHandler;
| ^ ~~~~~~~~~~~~~~~~~~
access/rdp.c:429:37: error: incompatible function pointer types assigning to 'pAuthenticate' (aka 'int (*)(struct rdp_freerdp *, char **, char **, char **)') from 'bool (freerdp *, char **, char **, char **)' (aka 'bool (struct rdp_freerdp *, char **, char **, char **)') [-Wincompatible-function-pointer-types]
429 | p_sys->p_instance->Authenticate = authenticateHandler;
| ^ ~~~~~~~~~~~~~~~~~~~