Summary: | app-misc/lirc-0.8.3-r2 fails to compile against sys-kernel/vanilla-sources-2.6.26 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | enkil <enkil> |
Component: | Current packages | Assignee: | Television related Applications in Gentoo's Portage <media-tv> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | a, dliana, eric.bosch, jrmalaq, pete, voyageur |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
lirc cvs ebuild
patch for 2.6.26 compatibility Updated ebuild |
Description
enkil
2008-07-15 14:56:27 UTC
The same for x86_64 and gentoo-sources. Created attachment 160736 [details]
lirc cvs ebuild
In case someone needs cvs ebuild, I didn't found it in overlays.
(In reply to comment #2) > Created an attachment (id=160736) [edit] > lirc cvs ebuild > > In case someone needs cvs ebuild, I didn't found it in overlays. > After applying the patch, it compiles successfully, however lirc_mceusb2 fails to load with the following error: Jul 19 23:54:25 saruman lirc_dev: IR Remote Control driver registered, major 61 Jul 19 23:54:25 saruman lirc_mceusb2: no symbol version for lirc_get_pdata Jul 19 23:54:25 saruman lirc_mceusb2: Unknown symbol lirc_get_pdata Jul 19 23:54:25 saruman lirc_mceusb2: no symbol version for lirc_unregister_plugin Jul 19 23:54:25 saruman lirc_mceusb2: Unknown symbol lirc_unregister_plugin Jul 19 23:54:25 saruman lirc_mceusb2: no symbol version for lirc_register_plugin Jul 19 23:54:25 saruman lirc_mceusb2: Unknown symbol lirc_register_plugin I did some investigation and all that is needed for 2.6.26 compatibility are some changes in lirc_dev.c and kcompat.h. I did a diff on those two files from last weeks cvs against 0.8.3 and attached a patch. So far there are no problems with the patched lirc here. Created attachment 160985 [details, diff]
patch for 2.6.26 compatibility
Created attachment 160986 [details]
Updated ebuild
Thanks for the patch. Added it to lirc-0.8.3-r2 ebuild. |