Current versions doesn't build/work on amd64 due to wrong assumption `long` == `int32_t`. Attached patch contains old sed statements, old -misc.patch plus respected CC and type patches.
Created attachment 237877 [details, diff] new -misc.patch
Created attachment 237879 [details, diff] ebuild patch
*netkit-bootpd-2.4-r1 (07 Jul 2010) 07 Jul 2010; Samuli Suominen <ssuominen@gentoo.org> +netkit-bootpd-2.4-r1.ebuild, +files/netkit-bootpd-2.4.patch: Fix building for 64bit wrt #327283 by Michael Weber and misc. build system issues. also fixed LDFLAGS respecting, some implicit decls, it also had broken src_install (notice the dosym and dosbin hassle there), other random issues...