Package: qc-usb-source
Version: 0.6.4-4
Followup-For: Bug #389342

tags 389342 + patch
thanks

Getting qc-usb-source to build under 2.6.18 just requires adding two
#include directives, one conditional, per the below patch; please
apply it when you get a chance.

Thanks!

diff -u qc-usb-source.orig/qc-driver.c qc-usb-source/qc-driver.c
--- qc-usb-source.orig/qc-driver.c      2006-05-05 22:51:50.000000000 -0400
+++ qc-usb-source/qc-driver.c   2006-10-04 11:23:10.000000000 -0400
@@ -70,6 +70,7 @@
 #include <asm/page.h>
 #include <linux/capability.h>
 #include <linux/poll.h>
+#include <linux/utsrelease.h>
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
 #include <linux/moduleparam.h>
 #endif
diff -u qc-usb-source.orig/quickcam.h qc-usb-source/quickcam.h
--- qc-usb-source.orig/quickcam.h       2006-05-05 23:00:26.000000000 -0400
+++ qc-usb-source/quickcam.h    2006-10-04 11:21:55.000000000 -0400
@@ -93,6 +93,9 @@
 #endif
 
 #include <linux/videodev.h>
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,18)
+#include <media/v4l2-dev.h>
+#endif
 #include <linux/usb.h>
 #include <asm/pgtable.h>               /* This is required for testing 
pte_offset_map */
 #include <linux/spinlock.h>

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17.13
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages qc-usb-source depends on:
ii  debhelper                     5.0.37.3   helper programs for debian/rules

Versions of packages qc-usb-source recommends:
ii  kernel-package                10.062     A utility for building Linux kerne

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to