From 7c84941e8e4bf18796144bb8c62a68ac9cc35f4a Mon Sep 17 00:00:00 2001 From: mbm Date: Wed, 16 Aug 2006 19:16:23 +0000 Subject: fix minor compile issues with spca5xx git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4572 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/spca5xx/patches/02-seq_bug.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 package/spca5xx/patches/02-seq_bug.patch (limited to 'package/spca5xx/patches') diff --git a/package/spca5xx/patches/02-seq_bug.patch b/package/spca5xx/patches/02-seq_bug.patch new file mode 100644 index 000000000..ec1003e70 --- /dev/null +++ b/package/spca5xx/patches/02-seq_bug.patch @@ -0,0 +1,14 @@ +diff -Nur spca5xx-20060501/drivers/usb/spca5xx.c.orig spca5xx-20060501/drivers/usb/spca5xx.c +--- spca5xx-20060501/drivers/usb/spca5xx.c.orig 2006-08-16 11:56:33.000000000 -0700 ++++ spca5xx-20060501/drivers/usb/spca5xx.c 2006-08-16 11:55:41.000000000 -0700 +@@ -1092,8 +1092,8 @@ + // spca50x->avg_lum, spca50x->avg_lum); + for (i = 0; i < SPCA50X_NUMFRAMES; i++) { + out += sprintf(out, "frame : %d\n", i); +- out += +- sprintf(out, " sequence : %d\n", spca50x->frame[i].seq); ++// out += ++// sprintf(out, " sequence : %d\n", spca50x->frame[i].seq); + out += + sprintf(out, " grabstate : %d\n", + spca50x->frame[i].grabstate); -- cgit v1.2.3