From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-plugins/gst-plugins-v4l2/files: gst-plugins-v4l2-0.10.31-linux-headers-3.9.patch |
Date: | Sat, 01 Jun 2013 10:59:35 |
Message-Id: | 20130601105929.19E952171D@flycatcher.gentoo.org |
1 | ssuominen 13/06/01 10:59:29 |
2 | |
3 | Added: gst-plugins-v4l2-0.10.31-linux-headers-3.9.patch |
4 | Log: |
5 | Fix building with linux-headers >= 3.9 wrt #468618 using upstream patch by Rafał Mużyło and "Ulenrich" |
6 | |
7 | (Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 4868F14D) |
8 | |
9 | Revision Changes Path |
10 | 1.1 media-plugins/gst-plugins-v4l2/files/gst-plugins-v4l2-0.10.31-linux-headers-3.9.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/gst-plugins-v4l2/files/gst-plugins-v4l2-0.10.31-linux-headers-3.9.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/gst-plugins-v4l2/files/gst-plugins-v4l2-0.10.31-linux-headers-3.9.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: gst-plugins-v4l2-0.10.31-linux-headers-3.9.patch |
16 | =================================================================== |
17 | From 8e633d2059cb835448021cf79becb487aff10975 Mon Sep 17 00:00:00 2001 |
18 | From: Bastien Nocera <hadess@××××××.net> |
19 | Date: Mon, 18 Mar 2013 14:59:35 +0000 |
20 | Subject: v4l2: fix compilation against newer kernel headers as on FC19 |
21 | |
22 | --- |
23 | diff --git a/sys/v4l2/v4l2_calls.c b/sys/v4l2/v4l2_calls.c |
24 | index 07d390a..4c10f4f 100644 |
25 | --- a/sys/v4l2/v4l2_calls.c |
26 | +++ b/sys/v4l2/v4l2_calls.c |
27 | @@ -291,8 +291,12 @@ gst_v4l2_fill_lists (GstV4l2Object * v4l2object) |
28 | break; |
29 | case V4L2_CID_HFLIP: |
30 | case V4L2_CID_VFLIP: |
31 | +#ifndef V4L2_CID_PAN_RESET |
32 | case V4L2_CID_HCENTER: |
33 | +#endif |
34 | +#ifndef V4L2_CID_TILT_RESET |
35 | case V4L2_CID_VCENTER: |
36 | +#endif |
37 | #ifdef V4L2_CID_PAN_RESET |
38 | case V4L2_CID_PAN_RESET: |
39 | #endif |
40 | -- |
41 | cgit v0.9.0.2-2-gbebe |