pkg_unpack applies the patch files/mysql-3.23.51-tcpd.patch which does: -#define my_fromhost(A) fromhost() -#define my_hosts_access(A) hosts_access() -#define my_eval_client(A) eval_client() +#define my_fromhost(A) fromhost(A) +#define my_hosts_access(A) hosts_access(A) +#define my_eval_client(A) eval_client(A) The problem for me is that fromhost is that in /usr/include/tcpd.h(standard from tcp-wrappers package) is just an alias to sock_host which takes no parameters. Hence this patch brakes the compile for me. Is this patch supposed to be there?
yep. removing the patch from the ebuild fixed the build for me
The patch appears to have been fixed upstream... It is now commented within the ebuild.