--- /usr/portage/net-fs/samba/samba-4.2.0.ebuild 2015-03-08 14:21:55.000000000 +0100 +++ /usr/local/portage/net-fs/samba/samba-4.2.0.ebuild 2015-03-27 13:40:01.979133948 +0100 @@ -131,6 +131,8 @@ " use "ads" && myconf+=" --with-shared-modules=idmap_ad" + epatch "${FILESDIR}"/kdc_init.patch + CPPFLAGS="-I/usr/include/et ${CPPFLAGS}" \ waf-utils_src_configure ${myconf} }