After emerging, compiled and installed the newly stabilized kernel gentoo-sources-2.6.33-r2, the latest stable lirc fails to compile. After some research, I made it work with upstream patch + patching similar to a suggestion for lirc 0.8.6.in Bug 301321 The upstream patch can be found at: http://lirc.cvs.sourceforge.net/viewvc/lirc/lirc/drivers/lirc_dev/lirc_dev.h?hideattic=1&r1=text&r2=1.37%3Alirc-0_8_6&tr1=1.38&tr2=1.1&view=patch I have added it as lirc-0.8.5-kernel-2.6.33.patch Reproducible: Always Steps to Reproduce:
Created attachment 236645 [details, diff] Upstream patch to fix compile against recent kernel
Created attachment 236647 [details] Working ebuild
Comment on attachment 236647 [details] Working ebuild diff /usr/portage/app-misc/lirc/lirc-0.8.5.ebuild lirc-0.8.5-r1.ebuild 252a253,258 > if kernel_is ge 2 6 33 ; then > # Apply kernel 2.6.33 patch > epatch "${FILESDIR}"/lirc-0.8.5-kernel-2.6.33.patch > find . -name *.c -print | xargs sed -i "s|#include <linux/autoconf.h>|#include <generated/autoconf.h>|" > fi >
Maybe your problem is related to this -> http://bugs.gentoo.org/show_bug.cgi?id=312691#c4
Works fine on amd64 and 2.6.34-r12 kernel. Please add ebuild and patch to portage.
Patch looks like it was applied upstream to 0.8.7 .. Closing since that version is current stable.