Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 170727 Details for
Bug 245581
stabilize media-video/qc-usb-messenger-1.8-r1 (was: media-video/qc-usb-messenger-1.8: ebuild fails for kernels >= 2.6.27)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for kernels >= 2.6.27
qc-usb-messenger-1.8-qc-driver.patch (text/plain), 1.25 KB, created by
Thomas Juerges
on 2008-11-04 20:02:29 UTC
(
hide
)
Description:
Patch for kernels >= 2.6.27
Filename:
MIME Type:
Creator:
Thomas Juerges
Created:
2008-11-04 20:02:29 UTC
Size:
1.25 KB
patch
obsolete
>--- qc-usb-messenger-1.8.org/qc-driver.c 2008-11-04 12:23:01.000000000 -0700 >+++ qc-usb-messenger-1.8/qc-driver.c 2008-11-04 12:52:24.000000000 -0700 >@@ -2895,7 +2895,11 @@ > if (qcdebug&QC_DEBUGUSER) PDEBUG("VIDIOCGCAP"); > memset(&b, 0, sizeof(b)); > strcpy(b.name, "Logitech QuickCam USB"); /* Max 31 characters */ >+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27) >+ b.type = qc->vdev.vfl_type; >+#else > b.type = qc->vdev.type; >+#endif > b.channels = 1; > b.audios = 0; > b.maxwidth = qc->sensor_data.maxwidth; >@@ -3035,7 +3039,11 @@ > if (qcdebug&QC_DEBUGUSER) PDEBUG("VIDIOC_QUERYCAP"); > memset(&vc, 0, sizeof(vc)); > strcpy(vc.name, "Logitech QuickCam USB"); /* Max 31 characters */ >+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27) >+ vc.type = qc->vdev.vfl_type; >+#else > vc.type = qc->vdev.type; >+#endif > vc.inputs = 1; > vc.outputs = 0; > vc.audios = 0; >@@ -3484,7 +3492,11 @@ > > static struct video_device qc_v4l_template = { > name: "QuickCam USB", >+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27) >+ vfl_type: VID_TYPE_CAPTURE, // | VID_TYPE_SUBCAPTURE, >+#else > type: VID_TYPE_CAPTURE, // | VID_TYPE_SUBCAPTURE, >+#endif > #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24) > hardware: VID_HARDWARE_QCAM_USB, > #endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 245581
: 170727