Created attachment 310955 [details, diff] diff of iptables-1.4.12.1-r1.ebuild using ksource instead of remaking include/linux/{kernel,types}.h The following code: src_prepare() { # use the saner headers from the kernel rm -f include/linux/{kernel,types}.h # Only run autotools if user patched something epatch_user && eautoreconf || elibtoolize } should be removed and replaced by the configure option --with-ksource which let iptables compile against saner kernel headers.
(In reply to comment #0) that's an even more unstable option than relying on userland headers *** This bug has been marked as a duplicate of bug 276737 ***