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 / 0001-linux36.patch
1 Fix building with Linux headers 3.6
2
3 Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
4
5 From bfb1ac952b4c3caaba0297bbe7dc73ea92f9b292 Mon Sep 17 00:00:00 2001
6 From: Matthias Clasen <mclasen@redhat.com>
7 Date: Thu, 09 Aug 2012 07:35:23 +0000
8 Subject: v4l2: fix build with recent kernels, the v4l2_buffer input field was removed
9
10 This was unused apparently and removed in the kernel in commit:
11
12  From 2b719d7baf490e24ce7d817c6337b7c87fda84c1 Mon Sep 17 00:00:00 2001
13  From: Sakari Ailus <sakari.ailus@iki.fi>
14  Date: Wed, 2 May 2012 09:40:03 -0300
15  Subject: [PATCH] [media] v4l: drop v4l2_buffer.input and V4L2_BUF_FLAG_INPUT
16
17  Remove input field in struct v4l2_buffer and flag V4L2_BUF_FLAG_INPUT which
18  tells the former is valid. The flag is used by no driver currently.
19
20 https://bugzilla.gnome.org/show_bug.cgi?id=681491
21 ---
22 (limited to 'sys/v4l2/gstv4l2bufferpool.c')
23
24 diff --git a/sys/v4l2/gstv4l2bufferpool.c b/sys/v4l2/gstv4l2bufferpool.c
25 index 2e3a563..5aaed5a 100644
26 --- a/sys/v4l2/gstv4l2bufferpool.c
27 +++ b/sys/v4l2/gstv4l2bufferpool.c
28 @@ -182,7 +182,6 @@ gst_v4l2_buffer_new (GstV4l2BufferPool * pool, guint index, GstCaps * caps)
29      GST_LOG_OBJECT (pool->v4l2elem, "  MMAP offset:  %u",
30          ret->vbuffer.m.offset);
31    GST_LOG_OBJECT (pool->v4l2elem, "  length:    %u", ret->vbuffer.length);
32 -  GST_LOG_OBJECT (pool->v4l2elem, "  input:     %u", ret->vbuffer.input);
33  
34    ret->mmap_length = ret->vbuffer.length;
35    data = (guint8 *) v4l2_mmap (0, ret->vbuffer.length,
36 --
37 cgit v0.9.0.2-2-gbebe