diff options
author | 2005-03-09 15:10:55 +0000 | |
---|---|---|
committer | 2005-03-09 15:10:55 +0000 | |
commit | da34f74152c47847aea3c8daa37d2de03c245f53 (patch) | |
tree | 3accf365b148da7facb61c942417f8f1f664a0c9 /media-video | |
parent | Marked ~amd64, keywording KDE split ebuilds, bug 80944. (diff) | |
download | gentoo-2-da34f74152c47847aea3c8daa37d2de03c245f53.tar.gz gentoo-2-da34f74152c47847aea3c8daa37d2de03c245f53.tar.bz2 gentoo-2-da34f74152c47847aea3c8daa37d2de03c245f53.zip |
patch for 2.6.11+ compatibility (#83299) migrated to use linux-mod.
(Portage version: 2.0.51.19)
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/qc-usb/ChangeLog | 6 | ||||
-rw-r--r-- | media-video/qc-usb/files/0.6.2-linux-2.6.11.patch | 15 | ||||
-rw-r--r-- | media-video/qc-usb/qc-usb-0.6.2.ebuild | 19 |
3 files changed, 30 insertions, 10 deletions
diff --git a/media-video/qc-usb/ChangeLog b/media-video/qc-usb/ChangeLog index 67c34441519e..5b0a64714d9e 100644 --- a/media-video/qc-usb/ChangeLog +++ b/media-video/qc-usb/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-video/qc-usb # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/qc-usb/ChangeLog,v 1.8 2005/01/28 19:18:03 hansmi Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/qc-usb/ChangeLog,v 1.9 2005/03/09 15:10:55 liquidx Exp $ + + 09 Mar 2005; Alastair Tse <liquidx@gentoo.org> + +files/0.6.2-linux-2.6.11.patch, qc-usb-0.6.2.ebuild: + patch for 2.6.11+ compatibility (#83299) migrated to use linux-mod. 28 Jan 2005; Michael Hanselmann <hansmi@gentoo.org> qc-usb-0.6.2.ebuild: Added to ~ppc, bug 79238. diff --git a/media-video/qc-usb/files/0.6.2-linux-2.6.11.patch b/media-video/qc-usb/files/0.6.2-linux-2.6.11.patch new file mode 100644 index 000000000000..dd8b239f5ed3 --- /dev/null +++ b/media-video/qc-usb/files/0.6.2-linux-2.6.11.patch @@ -0,0 +1,15 @@ +--- qc-usb-0.6.2/qc-memory.c-old 2005-02-24 19:40:37.000000000 -0500 ++++ qc-usb-0.6.2/qc-memory.c 2005-02-24 19:41:12.000000000 -0500 +@@ -230,7 +230,11 @@ + pos = (unsigned long)src; + while ((long)size > 0) { + physaddr = kvirt_to_pa(pos); +- if (remap_page_range(vma, start, physaddr, PAGE_SIZE, PAGE_SHARED)) ++ if (remap_pfn_range(vma, ++ start, ++ physaddr >> PAGE_SHIFT, ++ PAGE_SIZE, ++ PAGE_SHARED)) + return -EAGAIN; + start += PAGE_SIZE; + pos += PAGE_SIZE; diff --git a/media-video/qc-usb/qc-usb-0.6.2.ebuild b/media-video/qc-usb/qc-usb-0.6.2.ebuild index 42d5d2e3ce6e..39153d18fa1d 100644 --- a/media-video/qc-usb/qc-usb-0.6.2.ebuild +++ b/media-video/qc-usb/qc-usb-0.6.2.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/qc-usb/qc-usb-0.6.2.ebuild,v 1.3 2005/01/28 19:18:03 hansmi Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/qc-usb/qc-usb-0.6.2.ebuild,v 1.4 2005/03/09 15:10:55 liquidx Exp $ -inherit kernel-mod eutils +inherit linux-mod eutils DESCRIPTION="Logitech USB Quickcam Express Linux Driver Modules" HOMEPAGE="http://qce-ga.sourceforge.net/" @@ -11,22 +11,23 @@ SRC_URI="mirror://sourceforge/qce-ga/${P}.tar.gz" IUSE="" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86 ~ppc" +KEYWORDS="x86 ~ppc" DEPEND="virtual/linux-sources" +src_unpack() { + cd ${S} + unpack ${A} + epatch ${FILESDIR}/${PV}-linux-2.6.11.patch +} + src_compile() { emake KERNEL_DIR=${KERNEL_DIR} all || die } src_install() { insinto /lib/modules/${KV}/drivers/usb - if kernel-mod_is_2_6_kernel; then - doins quickcam.ko - else - doins quickcam.o - fi - + doins quickcam.${KV_OBJ} dobin qcset dodoc README* APPLICATIONS COPYING CREDITS TODO FAQ |