diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2006-07-27 18:00:27 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2006-07-27 18:00:27 +0000 |
commit | 0da1a351c7680236206c342ed55dc9d4be5b5f9c (patch) | |
tree | fcaa4b0afa57dfad58f6a632f12f8eb033aa5914 /app-misc | |
parent | added gcc-4.1 compat patch (#135248) (diff) | |
download | gentoo-2-0da1a351c7680236206c342ed55dc9d4be5b5f9c.tar.gz gentoo-2-0da1a351c7680236206c342ed55dc9d4be5b5f9c.tar.bz2 gentoo-2-0da1a351c7680236206c342ed55dc9d4be5b5f9c.zip |
Bugfix, now also apply xbox-patch when xbox-driver was autoselected by PROFILE_ARCH.
(Portage version: 2.1.1_pre3-r5)
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/lirc/ChangeLog | 6 | ||||
-rw-r--r-- | app-misc/lirc/lirc-0.8.0-r4.ebuild | 10 |
2 files changed, 13 insertions, 3 deletions
diff --git a/app-misc/lirc/ChangeLog b/app-misc/lirc/ChangeLog index cf55f70ec6be..3673db5fad4f 100644 --- a/app-misc/lirc/ChangeLog +++ b/app-misc/lirc/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-misc/lirc # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/ChangeLog,v 1.102 2006/07/27 17:33:24 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/ChangeLog,v 1.103 2006/07/27 18:00:27 zzam Exp $ + + 27 Jul 2006; Matthias Schwarzott <zzam@gentoo.org> lirc-0.8.0-r4.ebuild: + Bugfix, now also apply xbox-patch when xbox-driver was autoselected by + PROFILE_ARCH. 27 Jul 2006; Matthias Schwarzott <zzam@gentoo.org> files/lirc-0.8.0-kernel-2.6.17.diff: diff --git a/app-misc/lirc/lirc-0.8.0-r4.ebuild b/app-misc/lirc/lirc-0.8.0-r4.ebuild index 257a1ff04a2c..caec0d52f2d3 100644 --- a/app-misc/lirc/lirc-0.8.0-r4.ebuild +++ b/app-misc/lirc/lirc-0.8.0-r4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/lirc-0.8.0-r4.ebuild,v 1.1 2006/07/25 14:29:34 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/lirc-0.8.0-r4.ebuild,v 1.2 2006/07/27 18:00:27 zzam Exp $ inherit eutils linux-mod flag-o-matic autotools @@ -142,6 +142,7 @@ pkg_setup() { if use lirc_devices_xboxusb; then add_device atiusb "device xboxusb" + NEED_XBOX_PATCH=1 fi if use lirc_devices_usbirboy; then @@ -153,6 +154,7 @@ pkg_setup() { if [[ "${PROFILE_ARCH}" == "xbox" ]]; then # on xbox: use special driver add_device atiusb "device xboxusb" + NEED_XBOX_PATCH=1 else # no driver requested einfo @@ -224,13 +226,16 @@ src_unpack() { unpack ${A} cd ${S} + # Apply kernel compatibility patches epatch ${FILESDIR}/${P}-kernel-2.6.16.diff epatch ${FILESDIR}/${P}-kernel-2.6.17.diff epatch ${FILESDIR}/${P}-kernel-2.6.18.diff + # Work with udev-094 and greater epatch ${FILESDIR}/${PN}-udev-094.diff - use lirc_devices_xboxusb && epatch ${FILESDIR}/lirc-0.8.0pre4-xbox-remote.diff + # Apply patches needed for some special device-types + [[ ${NEED_XBOX_PATCH:-0} == 1 ]] && epatch ${FILESDIR}/lirc-0.8.0pre4-xbox-remote.diff use lirc_devices_imon_pad2keys && epatch ${FILESDIR}/${P}-imon-pad2keys.patch # remove parallel driver on SMP systems @@ -238,6 +243,7 @@ src_unpack() { sed -i -e "s:lirc_parallel::" drivers/Makefile.in fi + # respect CFLAGS sed -i -e 's:CFLAGS="-O2:CFLAGS=""\n#CFLAGS="-O2:' configure.in # setting default device-node |