=app-laptop/thinkpad-5.9-r1 doesn't build with kernel 2.6.36.
Created attachment 251537 [details] build.log
Thanks for the report, I haven't compiled 2.6.36 on my thinkpad yet (just installed the sources last night), so I'm not sure what change broke it.
=app-laptop/thinkpad-5.9-r1 doesn't build with linux-2.6.36-gentoo-r1
I wrote a quick patch to make it working. (converting ioctl to unlocked_ioctl)
Created attachment 254771 [details, diff] Change ioctl to unlocked_ioctl ops Change ioctl to unlocked_ioctl ops
Created attachment 254775 [details, diff] Patch Sorry, I sent the wrong file. This is correct.
Is there an ebuild bump for this yet?
Created attachment 257047 [details] ebuild using attached patch Attached ebuild using the patch, put patch into files subdirectory.
Hi, I had the same problem, so thanks for this patch. I have downloaded and ran this patch and it works good. I didn't noticed something odd, but didn't tested this module throughly. You should change the name of the patch from thinkpad-5.9.patch to thinkpad-ioctl_to_unlocked_ioctl-Gentoo.Bug.342161-5.9.patch or something similar. Thanks, Kfir
Thanks Robert ! works for me too
This worked for me on linux-2.6.36-gentoo with one minor change to the ebuild. I had to add: EAPI=3
(In reply to comment #11) > This worked for me on linux-2.6.36-gentoo with one minor change to the ebuild. > > I had to add: > EAPI=3 Sorry... I mean this worked on linux-2.6.38-gentoo. Can we get a bump?
*** Bug 362277 has been marked as a duplicate of this bug. ***
This worked for me on linux-2.6.37.
idl0r if you want to take over this package, I haven't had the thinkpad of mine booted up in ages, so I don't think I can really take care of this package properly.
Just fyi, this package seems to be obsolete and replaced by app-laptop/tp_smapi. Did you try that? Maybe app-laptop/thinkpad is a good candidate for removal
In any case, I applied the patch but I have no x86 hardware to test it. Reopen if needed