summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2013-07-09 21:22:08 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-07-09 21:22:08 (GMT)
commitce4a6ced942355eedc4ffae7c27cbab057b95ceb (patch)
tree2cdafaa302adc112f0aac310e9b5d660f7ac54eb
parent1f3dabf1f0888163dd44a2a6689939387088c72b (diff)
downloadbuildroot-ce4a6ced942355eedc4ffae7c27cbab057b95ceb.tar.gz
buildroot-ce4a6ced942355eedc4ffae7c27cbab057b95ceb.tar.bz2
gst-plugins-good: fix v4l2 related build error with new (3.9+) kernel headers
Fix from gstreamer git. Fixes http://autobuild.buildroot.net/results/e2b/e2b1c5219676c7d033353b7bd8273440c40dcf49/ Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/multimedia/gst-plugins-good/gst-plugins-good-v4l2-fix-compilation-against-newer-kernel-headers.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/multimedia/gst-plugins-good/gst-plugins-good-v4l2-fix-compilation-against-newer-kernel-headers.patch b/package/multimedia/gst-plugins-good/gst-plugins-good-v4l2-fix-compilation-against-newer-kernel-headers.patch
new file mode 100644
index 0000000..62c3bb2
--- /dev/null
+++ b/package/multimedia/gst-plugins-good/gst-plugins-good-v4l2-fix-compilation-against-newer-kernel-headers.patch
@@ -0,0 +1,30 @@
+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: [PATCH] v4l2: fix compilation against newer kernel headers as on
+ FC19
+
+---
+ sys/v4l2/v4l2_calls.c | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+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
+--
+1.7.10.4
+