net-misc/r8168 (8.026.00 as well as 8.027.00) does not build against a 3.2 kernel. I am attaching a trivial patch that adapts one line to the 3.2 API change. The patch should *only* be applied when building on 3.2 kernels. Reproducible: Always
Created attachment 298303 [details, diff] Patch for 8.026.00 and 8.027.00 to build on kernel 3.2
Created attachment 298305 [details, diff] Patch for 8.026.00 and 8.027.00 to build on kernel 3.2 I figured it's better to make the patch build against all kernel versions in order to avoid a kernel version check in the ebuild. So here's a new patch that can be applied unconditionally and the driver will build against all kernel versions including 3.2.
Created attachment 298505 [details] r8168-8.027.00-r1.ebuild and here is the ebuild for r8168-8.027.00
Why do you need a src_prepare? Doesn't PATCHES=( "${FILESDIR}/kernel_3.2.patch" ) work?
r8168-8.028.00 is out and works with 3.2 kernel. so this patch is not needed anymore.
8.028.00 is in portage now :-) So I'm closing this.