updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / qutecom / new-videodev.patch
blobd53d4f89188b280066b84d45f3d9f5044f5a78be
1 Description: fix for linux/videodev.h moved to libv4l1-videodev.h in new kernels (2.6.38)
2 Author: Ludovico Cavedon <cavedon@debian.org>
4 Index: qutecom-2.2+dfsg1/libs/pixertool/src/v4l/v4l-pixertool.c
5 ===================================================================
6 --- qutecom-2.2+dfsg1.orig/libs/pixertool/src/v4l/v4l-pixertool.c 2011-04-12 17:31:31.000000000 +0000
7 +++ qutecom-2.2+dfsg1/libs/pixertool/src/v4l/v4l-pixertool.c 2011-04-12 17:34:17.000000000 +0000
8 @@ -21,7 +21,7 @@
10 #include <sys/types.h>
12 -#include <linux/videodev.h>
13 +#include <libv4l1-videodev.h>
15 pixosi pix_v4l_to_pix_osi(int pix) {
16 pixosi palette;
17 Index: qutecom-2.2+dfsg1/libs/webcam/include/webcam/V4LWebcamDriver.h
18 ===================================================================
19 --- qutecom-2.2+dfsg1.orig/libs/webcam/include/webcam/V4LWebcamDriver.h 2011-04-12 17:31:17.000000000 +0000
20 +++ qutecom-2.2+dfsg1/libs/webcam/include/webcam/V4LWebcamDriver.h 2011-04-12 17:34:31.000000000 +0000
21 @@ -24,7 +24,7 @@
23 #include <thread/Thread.h>
25 -#include <linux/videodev.h>
26 +#include <libv4l1-videodev.h>
28 #include <map>
29 #include <string>
30 Index: qutecom-2.2+dfsg1/libs/webcam/src/v4l/V4LWebcamDriver.cpp
31 ===================================================================
32 --- qutecom-2.2+dfsg1.orig/libs/webcam/src/v4l/V4LWebcamDriver.cpp 2011-04-12 17:31:51.000000000 +0000
33 +++ qutecom-2.2+dfsg1/libs/webcam/src/v4l/V4LWebcamDriver.cpp 2011-04-12 17:34:06.000000000 +0000
34 @@ -185,7 +185,7 @@
35 // format to such an unsupported format.
37 // Try to choose a palette that will be supported by ffmpeg.
38 - static const __u16 try_palettes[] = {
39 + static const uint16_t try_palettes[] = {
40 VIDEO_PALETTE_RGB24,
41 VIDEO_PALETTE_RGB32,
42 VIDEO_PALETTE_YUV420P,