Patchwork [2/2] gst-openmax: fix build with newer GLib

login
register
mail settings
Submitter Ross Burton
Date Dec. 17, 2012, 5:21 p.m.
Message ID <1355764871-1813-2-git-send-email-ross.burton@intel.com>
Download mbox | patch
Permalink /patch/41219/
State Accepted
Commit 2a9c574fd8b0800199b6569b6abf02634801013d
Headers show

Comments

Ross Burton - Dec. 17, 2012, 5:21 p.m.
The new GLib deprecated some threading API, but gst-openmax wasn't detecting
release vs development at all so assuming development, and thus building with
-Werror.  Set the variable that the configure script is assuming to exist, so
that -Werror isn't used.

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/recipes-multimedia/gstreamer/gst-openmax_0.10.1.bb |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Patch

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 76c8135..af482ed 100644
--- a/meta/recipes-multimedia/gstreamer/gst-openmax_0.10.1.bb
+++ b/meta/recipes-multimedia/gstreamer/gst-openmax_0.10.1.bb
@@ -11,9 +11,13 @@  SRC_URI = "http://gstreamer.freedesktop.org/src/gst-openmax/gst-openmax-${PV}.ta
 
 inherit autotools
 
+# Tell configure that this isn't a development snapshot so we don't want
+# -Werror (hopefully fixed in 0.10.2)
+export GST_CVS="no"
+
 EXTRA_OECONF += "--disable-valgrind"
 
-PR = "r3"
+PR = "r4"
 
 FILES_${PN} += "${libdir}/gstreamer-0.10/libgstomx.so"
 FILES_${PN}-dev += "${libdir}/gstreamer-0.10/libgstomx.la"