diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2006-10-20 19:07:01 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2006-10-20 19:07:01 +0000 |
commit | cf8b0004ed9b56a91d579b8c7abc70d39ffb9cae (patch) | |
tree | f60aa76d733992ee002c6d3363a3ca1ee8659c34 /media-video/qc-usb/files | |
parent | Removed 65 instead of 64 - -r bumping to preserve digest sanity. (diff) | |
download | gentoo-2-cf8b0004ed9b56a91d579b8c7abc70d39ffb9cae.tar.gz gentoo-2-cf8b0004ed9b56a91d579b8c7abc70d39ffb9cae.tar.bz2 gentoo-2-cf8b0004ed9b56a91d579b8c7abc70d39ffb9cae.zip |
fix 2.6.18, bug 148710 thanks to Ricardo Lanziano <ricardo.lanziano@gmail.com>
(Portage version: 2.1.2_pre3-r5)
Diffstat (limited to 'media-video/qc-usb/files')
-rw-r--r-- | media-video/qc-usb/files/qc-usb-linux-2.6.18-1.patch | 21 | ||||
-rw-r--r-- | media-video/qc-usb/files/qc-usb-linux-2.6.18-2.patch | 10 |
2 files changed, 31 insertions, 0 deletions
diff --git a/media-video/qc-usb/files/qc-usb-linux-2.6.18-1.patch b/media-video/qc-usb/files/qc-usb-linux-2.6.18-1.patch new file mode 100644 index 000000000000..a0efb331dab7 --- /dev/null +++ b/media-video/qc-usb/files/qc-usb-linux-2.6.18-1.patch @@ -0,0 +1,21 @@ +--- qc-usb-0.6.4.old/qc-driver.c 2006-05-05 21:51:50.000000000 -0500 ++++ qc-usb-0.6.4/qc-driver.c 2006-10-16 21:49:03.000000000 -0500 +@@ -867,7 +867,6 @@ + + out += sprintf(out, "\tGeneral driver status\n"); + out += sprintf(out, "Driver version : %s\n", VERSION); +- out += sprintf(out, "Kernel version : %s\n", UTS_RELEASE); + if (qc->dev!=NULL) { + out += sprintf(out, "Device Id : %04X:%04X\n", (int)GET_VENDORID(qc), (int)GET_PRODUCTID(qc)); + out += sprintf(out, "USB bus number : %i\n", qc->dev->bus->busnum); +@@ -3266,8 +3265,8 @@ + + /* We found a QuickCam */ + PRINTK(KERN_INFO,"QuickCam USB camera found (driver version %s)", VERSION); +- PRINTK(KERN_INFO,"Kernel:%s bus:%i class:%02X subclass:%02X vendor:%04X product:%04X", +- UTS_RELEASE, usbdev->bus->busnum, ifacedesc->bInterfaceClass, ifacedesc->bInterfaceSubClass, ++ PRINTK(KERN_INFO,"bus:%i class:%02X subclass:%02X vendor:%04X product:%04X", ++ usbdev->bus->busnum, ifacedesc->bInterfaceClass, ifacedesc->bInterfaceSubClass, + usbdev->descriptor.idVendor, usbdev->descriptor.idProduct); + + /* The interface is claimed (bound) automatically to us when we return from this function (without error code) */ diff --git a/media-video/qc-usb/files/qc-usb-linux-2.6.18-2.patch b/media-video/qc-usb/files/qc-usb-linux-2.6.18-2.patch new file mode 100644 index 000000000000..08c56d7620fa --- /dev/null +++ b/media-video/qc-usb/files/qc-usb-linux-2.6.18-2.patch @@ -0,0 +1,10 @@ +--- qc-usb-0.6.4.old/quickcam.h 2006-05-05 22:00:26.000000000 -0500 ++++ qc-usb-0.6.4/quickcam.h 2006-10-16 21:49:39.000000000 -0500 +@@ -93,6 +93,7 @@ + #endif + + #include <linux/videodev.h> ++#include <media/v4l2-dev.h> + #include <linux/usb.h> + #include <asm/pgtable.h> /* This is required for testing pte_offset_map */ + #include <linux/spinlock.h> |