summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/gstreamer/gst-openmax/gcc_4.6.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gst-openmax/gcc_4.6.patch')
-rw-r--r--meta/recipes-multimedia/gstreamer/gst-openmax/gcc_4.6.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gst-openmax/gcc_4.6.patch b/meta/recipes-multimedia/gstreamer/gst-openmax/gcc_4.6.patch
new file mode 100644
index 0000000000..57a63b5a0f
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gst-openmax/gcc_4.6.patch
@@ -0,0 +1,18 @@
1Upstream-Status: Pending
2
3Signed-off-by: Saul Wold <sgw@linux.intel.com>
4
5Index: gst-openmax-0.10.1/omx/gstomx.c
6===================================================================
7--- gst-openmax-0.10.1.orig/omx/gstomx.c 2010-09-30 18:00:24.000000000 -0700
8+++ gst-openmax-0.10.1/omx/gstomx.c 2011-05-17 23:08:08.794535872 -0700
9@@ -238,7 +238,8 @@
10 const gchar *element_name = gst_structure_nth_field_name (element_table, i);
11 GstStructure *element = get_element_entry (element_name);
12 const gchar *type_name, *parent_type_name;
13- const gchar *component_name, *component_role, *library_name;
14+ const gchar *component_name, *library_name;
15+ const gchar __attribute__((__unused__)) *component_role;
16 GType type;
17 gint rank;
18