Created attachment 337434 [details] A bit of a hacky patch to remove some old Heimdal conditional code and build with gcc-4.6 The -r1 ebuild includes a new patch in mod_auth_kerb-5.4-s4u2proxy-r1.patch. This uses MIT kerberos specific calls which break the build against Heimdal. I have attached a new version of the patch which should address this issue. http://osdir.com/ml/encryption.kerberos.heimdal.general/2006-10/msg00085.html was used as a hint for writing Heimdal compatible code. I do not have MIT installation to confirm that the change works both ways.
Created attachment 337436 [details] Replacement patch to enable building with Heimdal
+*mod_auth_kerb-5.4-r2 (08 May 2015) + + 08 May 2015; Pacho Ramos <pacho@gentoo.org> + +files/mod_auth_kerb-5.4-handle-continue.patch, + +files/mod_auth_kerb-5.4-longuser.patch, + +files/mod_auth_kerb-5.4-s4u2proxy-r2.patch, +mod_auth_kerb-5.4-r2.ebuild: + Apply more Fedora patches with fixes, update s4u2proxy patch to support + heimdal (#454816 by Spooky Ghost), tmpfiles.d needed (#470942 by Azamat H. + Hackimov) +