I've applied the attached simple fix to the GStreamer sources to remove an unused variable so that it will build with -Werror.
2012-02-15 Andrew John Hughes <[email protected]> * native/jni/gstreamer-peer/gst_classpath_src.c, (gst_classpath_src_class_init(GstClasspathSrcClass)): Remove unused gstelement_class. -- Andrew :) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) PGP Key: 248BDC07 (https://keys.indymedia.org/) Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07
Index: native/jni/gstreamer-peer/gst_classpath_src.c
===================================================================
RCS file:
/sources/classpath/classpath/native/jni/gstreamer-peer/gst_classpath_src.c,v
retrieving revision 1.1
diff -u -u -r1.1 gst_classpath_src.c
--- native/jni/gstreamer-peer/gst_classpath_src.c 18 Aug 2007 15:23:14
-0000 1.1
+++ native/jni/gstreamer-peer/gst_classpath_src.c 21 Feb 2012 00:14:09
-0000
@@ -163,14 +163,12 @@
gst_classpath_src_class_init (GstClasspathSrcClass *klass)
{
GObjectClass *gobject_class;
- GstElementClass *gstelement_class;
GstBaseSrcClass *gstbasesrc_class;
GstPushSrcClass *gstpushsrc_class;
GParamSpec *pspec;
gobject_class = G_OBJECT_CLASS (klass);
- gstelement_class = GST_ELEMENT_CLASS (klass);
gstbasesrc_class = GST_BASE_SRC_CLASS (klass);
gstpushsrc_class = GST_PUSH_SRC_CLASS (klass);
signature.asc
Description: Digital signature
