diff -rupN old/lirc-0.9.0-r2.ebuild new/lirc-0.9.0-r2.ebuild --- old/lirc-0.9.0-r2.ebuild 2013-03-21 16:48:45.553652000 +0100 +++ new/lirc-0.9.0-r2.ebuild 2013-03-21 16:47:42.662165800 +0100 @@ -65,7 +65,7 @@ IUSE_LIRC_DEVICES_DIRECT=" remotemaster sa1100 samsung sasem sb0540 serial silitek sir slinke streamzap tekram tekram_bt829 tira ttusbir tuxbox tvbox udp uirt2 - uirt2_raw usb_uirt_raw usbx wpc8769l" + uirt2_raw usb_uirt_raw usbx wpc8769l zotac" # drivers that need special handling and # must have another name specified for @@ -94,7 +94,7 @@ LIRCDEV_BUILT_FOR_DEV="all imon_knob imon_lcd imon_pad imon_rsc irdeo irdeo_remote knc_one leadtek_pvr2000 nslu2 packard_bell parallel pixelview_bt878 provideo sa1100 sasem serial sir tekram tekram_bt829 ttusbir - tvbox wpc8769l" + tvbox wpc8769l zotac" #lirc_gpio drivers, which cannot be supported on kernel >= 2.6.22 LIRC_GPIO_DEV=" @@ -300,6 +300,8 @@ src_prepare() { epatch "${FILESDIR}"/${P}-kernel-3.3.0-fixes.patch # Apply fix for missing err() in usb.h for kernel 3.5+ (bug 444736) epatch "${FILESDIR}"/${P}-kernel-3.5-err-fix.patch + # Add support for zotac remote + epatch "${FILESDIR}"/zotac.patch # Do not build drivers from the top-level Makefile sed -i -e 's:\(SUBDIRS =\) drivers\(.*\):\1\2:' Makefile.am