from the left-hand doesn't know the right-hand exists dept: By now there have been numerous bugs reporting that win4lin does not work. That is correct but the source of this problem is that the new kernel-2.eclass does not correctly handle all patches. In this case the eclass incorrectly applies the mki-adapter26_${MKI_VERSION}.patch to P0 not P1. The result is the kernel never sees the module, thus it is never complied, thus a broken win4lin. In http://bugs.gentoo.org/show_bug.cgi?id=53729 three solutions have been given and ignored. What is attached is an ebuild based off of win4lin-sources-2.6.7-r3. Also included is line #37 for people who will used this in their home portage tree. It saves you the trouble of copy the patch files. I am doing this because I expect this to bug to be ignored just like #53729 has been.
Created attachment 35985 [details] win4lin-sources-2.6.7-r4.ebuild (with hack)
There's no need to resort to hacks here. Johnm already has the kernel-2.eclass patch to allow the so-called explicit patchlevels which will fix this problem once and for all. Just wait for him to commit the patch and the problem will be solved.
It might be a hack but it works. As far as I can tell win4lin-sources-2.6.7-r<4.ebuild didn't. I think win4lin-sources-2.6.7-r4.ebuild should be published as the present stable win4lin-sources ebuild doesn't work with win4lin. When the proper solution is available, there can always be a win4lin-sources-2.6.7-r5.ebuild.
the new win4lin-sources-2.6.7-r4.ebuild also does not work .. how long does it take to get Johnm's patch in place? ebuild still places the mki-adapter26-old in the upper level directories, NOT where it belongs as ../arch/i386/mki-adapter26 had to patch the new build by hand again
the NEW win4lin-sources-2.6.7-r4 ebuild is the one just released today not the one attached in this bug .. another security update release and still no decent fix for our patching problem .. Does any one know why we are having this mess go on and on?
Fix now in -r4; it should reach the rsync mirrors soon - please reopen this bug if it still does not work. Thanks!