--- /usr/portage/net-fs/samba/samba-4.5.3.ebuild 2017-01-15 14:14:42.384010456 +0100 +++ /usr/local/portage/net-fs/samba/samba-4.5.3.ebuild 2017-01-15 21:31:46.867699556 +0100 @@ -112,6 +112,9 @@ # ugly hackaround for bug #592502 cp /usr/include/tevent_internal.h "${S}"/lib/tevent/ || die + # workaround for bug #603570 + rm -f "${S}/source4/heimdal_build/krb5-types.h" + multilib_copy_sources }