summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarol Wojtaszek <sekretarz@gentoo.org>2004-10-06 16:19:13 +0000
committerKarol Wojtaszek <sekretarz@gentoo.org>2004-10-06 16:19:13 +0000
commitea13298cf50f7626fbb5ca4dc6467843641e0c16 (patch)
tree987e5fde84510f0cac83b67c043693fb2fe677ec /media-video/qc-usb
parentnew bugfix release (Manifest recommit) (diff)
downloadgentoo-2-ea13298cf50f7626fbb5ca4dc6467843641e0c16.tar.gz
gentoo-2-ea13298cf50f7626fbb5ca4dc6467843641e0c16.tar.bz2
gentoo-2-ea13298cf50f7626fbb5ca4dc6467843641e0c16.zip
Fixed gcc-3.4 compile issue
Diffstat (limited to 'media-video/qc-usb')
-rw-r--r--media-video/qc-usb/ChangeLog6
-rw-r--r--media-video/qc-usb/files/qc-usb-0.6.0-gcc34.patch11
-rw-r--r--media-video/qc-usb/qc-usb-0.6.0.ebuild11
3 files changed, 25 insertions, 3 deletions
diff --git a/media-video/qc-usb/ChangeLog b/media-video/qc-usb/ChangeLog
index e0d4bf23fc45..949288ade4d0 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-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/qc-usb/ChangeLog,v 1.4 2004/07/24 05:17:10 liquidx Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/qc-usb/ChangeLog,v 1.5 2004/10/06 16:19:13 sekretarz Exp $
+
+ 06 Oct 2004; Karol Wojtaszek <sekretarz@gentoo.org>
+ +files/qc-usb-0.6.0-gcc34.patch, qc-usb-0.6.0.ebuild:
+ Fixed gcc-3.4 compile issue. Bug #62340
*qc-usb-0.6.0 (24 Jul 2004)
diff --git a/media-video/qc-usb/files/qc-usb-0.6.0-gcc34.patch b/media-video/qc-usb/files/qc-usb-0.6.0-gcc34.patch
new file mode 100644
index 000000000000..aa067a7d6b74
--- /dev/null
+++ b/media-video/qc-usb/files/qc-usb-0.6.0-gcc34.patch
@@ -0,0 +1,11 @@
+diff -Naur qc-usb-0.6.0.orig/qc-driver.c qc-usb-0.6.0/qc-driver.c
+--- qc-usb-0.6.0.orig/qc-driver.c 2003-12-31 17:15:06.000000000 +0100
++++ qc-usb-0.6.0/qc-driver.c 2004-10-06 18:08:39.000000000 +0200
+@@ -1489,6 +1489,7 @@
+ PDEBUG("Unknown chunk %04X: %s", id, dump);
+ }
+ #endif
++ break;
+ }
+ data += len;
+ datalen -= len;
diff --git a/media-video/qc-usb/qc-usb-0.6.0.ebuild b/media-video/qc-usb/qc-usb-0.6.0.ebuild
index b8c7a6ba307f..900148f54269 100644
--- a/media-video/qc-usb/qc-usb-0.6.0.ebuild
+++ b/media-video/qc-usb/qc-usb-0.6.0.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2004 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.0.ebuild,v 1.3 2004/09/27 09:21:15 liquidx Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/qc-usb/qc-usb-0.6.0.ebuild,v 1.4 2004/10/06 16:19:13 sekretarz Exp $
-inherit kernel-mod
+inherit kernel-mod eutils
DESCRIPTION="Logitech USB Quickcam Express Linux Driver Modules"
HOMEPAGE="http://qce-ga.sourceforge.net/"
@@ -15,6 +15,13 @@ KEYWORDS="x86"
DEPEND="virtual/linux-sources"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/${P}-gcc34.patch
+}
+
src_compile() {
emake KERNEL_DIR=${KERNEL_DIR} all || die
}