Emerging app-misc/lirc-0.8.3_pre1 with LIRC_DEVICES="imon_pad2keys" fails when applying the lirc-0.8.1-imon-pad2keys.patch. Reproducible: Always mythtv ~ # emerge --info Portage 2.1.3.9 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r8 i686) ================================================================= System uname: 2.6.22-gentoo-r8 i686 AMD Sempron(tm) Processor 3100+ Timestamp of tree: Sun, 14 Oct 2007 09:00:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] app-shells/bash: 3.2_p17 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.3.5-r3, 2.4.4-r5 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -msse2 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=athlon-xp -msse2 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://ds.thn.htu.se/linux/gentoo/ http://mirror.gentoo.se/" LC_ALL="sv_SE.utf8" LINGUAS="sv sv_SE" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.se/gentoo-portage" USE="3dnow X a52 aac aalib alsa apache2 berkdb bidi bitmap-fonts cdr cli cracklib crypt dbus dri dts dvd dvdr encode ffmpeg flac fortran freetype gdbm gpm gtk gtk2 hal iconv ipv6 isdnlog jpeg lcd lirc live matroska midi mjpeg mmx mmx2 mp3 mudflap mysql ncurses nls nptl nptlonly nvidia ogg opengl openmp pam pcre pdf perl png posix ppds pppd python readline reflection rtc session spl sse sse2 ssl stream svga tcpd theora threads transcode truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd vorbis x264 x86 xml xorg xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="sv sv_SE" LIRC_DEVICES="imon_pad2keys" USERLAND="GNU" VIDEO_CARDS="vesa v4l nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 133434 [details] output from failed patch
Created attachment 133437 [details, diff] Changed/updated patch
I've changed/updated the imon-pad2keys patch. Can you give the updated new lirc-0.8.3pre1-imon-pad2keys.patch a try? Changes: - pad2keys function can be (de-)activated via a module-parameter. Requested by zzam. Off by default, add "options lirc_imon pad2keys_active=1" to /etc/modules.d/lirc (or whereever you like) to activate the pad2keys translation. - added a new config file remotes/imon/lircd.conf.imon-pad2keys instead of patching the original imon-pad. Regards, Michael.
Works great, thanks! Kenneth
Commited new patch to lirc-0.8.3_pre1.