The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / gstreamer / gst-plugins-good / 0002-v4l2-fix-compilation-against-newer-kernel-headers.patch
1 From 8e633d2059cb835448021cf79becb487aff10975 Mon Sep 17 00:00:00 2001
2 From: Bastien Nocera <hadess@hadess.net>
3 Date: Mon, 18 Mar 2013 14:59:35 +0000
4 Subject: [PATCH] v4l2: fix compilation against newer kernel headers as on
5  FC19
6
7 ---
8  sys/v4l2/v4l2_calls.c |    4 ++++
9  1 file changed, 4 insertions(+)
10
11 diff --git a/sys/v4l2/v4l2_calls.c b/sys/v4l2/v4l2_calls.c
12 index 07d390a..4c10f4f 100644
13 --- a/sys/v4l2/v4l2_calls.c
14 +++ b/sys/v4l2/v4l2_calls.c
15 @@ -291,8 +291,12 @@ gst_v4l2_fill_lists (GstV4l2Object * v4l2object)
16          break;
17        case V4L2_CID_HFLIP:
18        case V4L2_CID_VFLIP:
19 +#ifndef V4L2_CID_PAN_RESET
20        case V4L2_CID_HCENTER:
21 +#endif
22 +#ifndef V4L2_CID_TILT_RESET
23        case V4L2_CID_VCENTER:
24 +#endif
25  #ifdef V4L2_CID_PAN_RESET
26        case V4L2_CID_PAN_RESET:
27  #endif
28 -- 
29 1.7.10.4
30