summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2011-05-17 23:11:58 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-18 14:32:47 +0100
commit000368f1e78ad0dd68ebbf7e3d4135ca6bfad777 (patch)
treea14fe6b80839374bb2f2d6f77ac2ee55038b3bc7 /meta
parent04e3654834596f59d5847e4cec44564e2cbdab5f (diff)
downloadpoky-000368f1e78ad0dd68ebbf7e3d4135ca6bfad777.tar.gz
gst-openmax: Add patch for GCC 4.6.0
(From OE-Core rev: 6b407df32d50db19cb9c0492affabf14a8d6342b) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-multimedia/gstreamer/gst-openmax/gcc_4.6.patch18
-rw-r--r--meta/recipes-multimedia/gstreamer/gst-openmax_0.10.1.bb6
2 files changed, 22 insertions, 2 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
diff --git a/meta/recipes-multimedia/gstreamer/gst-openmax_0.10.1.bb b/meta/recipes-multimedia/gstreamer/gst-openmax_0.10.1.bb
index 5eb7e425c1..776ed1cc1c 100644
--- a/meta/recipes-multimedia/gstreamer/gst-openmax_0.10.1.bb
+++ b/meta/recipes-multimedia/gstreamer/gst-openmax_0.10.1.bb
@@ -4,13 +4,15 @@ LICENSE = "LGPLv2.1"
4LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24 \ 4LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24 \
5 file://util/sem.h;beginline=1;endline=20;md5=accce5550d5583b839b441a0623f09fc" 5 file://util/sem.h;beginline=1;endline=20;md5=accce5550d5583b839b441a0623f09fc"
6 6
7SRC_URI = "http://gstreamer.freedesktop.org/src/gst-openmax/gst-openmax-${PV}.tar.bz2" 7SRC_URI = "http://gstreamer.freedesktop.org/src/gst-openmax/gst-openmax-${PV}.tar.bz2 \
8 file://gcc_4.6.patch \
9 "
8 10
9inherit autotools 11inherit autotools
10 12
11EXTRA_OECONF += "--disable-valgrind" 13EXTRA_OECONF += "--disable-valgrind"
12 14
13PR = "r1" 15PR = "r2"
14 16
15FILES_${PN} += "${libdir}/gstreamer-0.10/libgstomx.so" 17FILES_${PN} += "${libdir}/gstreamer-0.10/libgstomx.so"
16FILES_${PN}-dev += "${libdir}/gstreamer-0.10/libgstomx.*a" 18FILES_${PN}-dev += "${libdir}/gstreamer-0.10/libgstomx.*a"