I ran into the problem of lirc not compiling for 2.6.16, but instead of patching 0.8.0 (bug 127122) to work, I put together this ebuild that will build lirc from cvs. It works for me here, and yes - it compiles on 2.6.16. Here's the emerge --info: # emerge --info Portage 2.1_pre6-r5 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.4-r1, 2.6.16 i686) ================================================================= System uname: 2.6.16 i686 VIA Nehemiah Gentoo Base System version 1.12.0_pre16 dev-lang/python: 2.3.5-r2, 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=c3-2 -msse -mmmx -mfpmath=sse -fomit-frame-pointer -Os -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d" CXXFLAGS="-march=c3-2 -msse -mmmx -mfpmath=sse -fomit-frame-pointer -Os -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://cudlug.cudenver.edu/gentoo/ http://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo http://prometheus.cs.wmich.edu/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aac alsa apache2 apm avi berkdb bitmap-fonts cle266 cli crypt ctype dba dri dts dv dvb dvd dvdread eds emboss encode expat fastbuild ffmpeg flac foomaticdb force-cgi-redirect ftp gd gdbm gif gnome gpm gstreamer gtk gtk2 ieee1394 imlib input_devices_mouse ipv6 jpeg libg++ libwww lirc mad memlimit mikmod mmx motif mp3 mpeg mysql mythtv ncurses nls nptl nptlonly ogg opengl pam pcre pdflib perl png posix python qt quicktime readline rtc sdl session simplexml soap sockets spell spl sse ssl tcpd threads tokenizer transcode truetype truetype-fonts type1-fonts udev unichrome usb v4l v4l2 video_cards_via vorbis xml xmms xsl xv xvid xvmc zlib elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Created attachment 82859 [details] The ebuild for building lirc from cvs I created a new directory called app-misc/lirc-cvs (like the other cvs ebuilds), and put this ebuild in there.
Sorry, we try to avoid live cvs ebuilds as much as possible due to out policy. Use this in your overlay or submit to some third-party repository (like fluidportage). Thanks.
All right, I'll do that. Thanks for the info - I wasn't aware of the policy.
FYI: http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=3&chap=1#doc_chap2