diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2013-06-01 10:59:39 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2013-06-01 10:59:39 +0000 |
commit | 6860a7363bdb80ad696246ee9a4e1fa2d6811dfa (patch) | |
tree | c437417a5a77d995f033225c529d64d7cf8434a3 /media-plugins/gst-plugins-v4l2/files/gst-plugins-v4l2-0.10.31-linux-headers-3.9.patch | |
parent | Remove unnecessary SRC_URI and KEYWORDS and fix conditional log output. (diff) | |
download | historical-6860a7363bdb80ad696246ee9a4e1fa2d6811dfa.tar.gz historical-6860a7363bdb80ad696246ee9a4e1fa2d6811dfa.tar.bz2 historical-6860a7363bdb80ad696246ee9a4e1fa2d6811dfa.zip |
Fix building with linux-headers >= 3.9 wrt #468618 using upstream patch by Rafał Mużyło and "Ulenrich"
Package-Manager: portage-2.2.0_alpha177/cvs/Linux x86_64
Manifest-Sign-Key: 0x4868F14D
Diffstat (limited to 'media-plugins/gst-plugins-v4l2/files/gst-plugins-v4l2-0.10.31-linux-headers-3.9.patch')
-rw-r--r-- | media-plugins/gst-plugins-v4l2/files/gst-plugins-v4l2-0.10.31-linux-headers-3.9.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/media-plugins/gst-plugins-v4l2/files/gst-plugins-v4l2-0.10.31-linux-headers-3.9.patch b/media-plugins/gst-plugins-v4l2/files/gst-plugins-v4l2-0.10.31-linux-headers-3.9.patch new file mode 100644 index 000000000000..25c25505449d --- /dev/null +++ b/media-plugins/gst-plugins-v4l2/files/gst-plugins-v4l2-0.10.31-linux-headers-3.9.patch @@ -0,0 +1,25 @@ +From 8e633d2059cb835448021cf79becb487aff10975 Mon Sep 17 00:00:00 2001 +From: Bastien Nocera <hadess@hadess.net> +Date: Mon, 18 Mar 2013 14:59:35 +0000 +Subject: v4l2: fix compilation against newer kernel headers as on FC19 + +--- +diff --git a/sys/v4l2/v4l2_calls.c b/sys/v4l2/v4l2_calls.c +index 07d390a..4c10f4f 100644 +--- a/sys/v4l2/v4l2_calls.c ++++ b/sys/v4l2/v4l2_calls.c +@@ -291,8 +291,12 @@ gst_v4l2_fill_lists (GstV4l2Object * v4l2object) + break; + case V4L2_CID_HFLIP: + case V4L2_CID_VFLIP: ++#ifndef V4L2_CID_PAN_RESET + case V4L2_CID_HCENTER: ++#endif ++#ifndef V4L2_CID_TILT_RESET + case V4L2_CID_VCENTER: ++#endif + #ifdef V4L2_CID_PAN_RESET + case V4L2_CID_PAN_RESET: + #endif +-- +cgit v0.9.0.2-2-gbebe |