[gstreamer-bugs] [Bug 639039] to solve a problem between gcc-4.5.2 and gst-plugins-base-0.10.31.2
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Sun Jan 9 06:45:54 PST 2011
https://bugzilla.gnome.org/show_bug.cgi?id=639039
GStreamer | gst-plugins-base | git
--- Comment #2 from brofkims at gmail.com 2011-01-09 14:45:49 UTC ---
I changed gst_init(NULL,NULL) to gst_init(&argc,&argv) in
gst-libs/gst/pbutils/Makefile.{am,in} as a try, then warnings above doesn't
appear any more.
This instance is also in docs/libs/Makefile.in.
Here is a unified patch.
diff -urN gst-plugins-base0.10-0.10.31.2+git20110108.orig/docs/libs/Makefile.in
gst-plugins-base0.10-0.10.31.2+git20110108/docs/libs/Makefile.in
--- gst-plugins-base0.10-0.10.31.2+git20110108.orig/docs/libs/Makefile.in
2011-01-08 16:07:26.000000000 +0900
+++ gst-plugins-base0.10-0.10.31.2+git20110108/docs/libs/Makefile.in
2011-01-09 23:19:23.000000000 +0900
@@ -816,7 +816,7 @@
@ENABLE_GTK_DOC_TRUE@ CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)"
\
@ENABLE_GTK_DOC_TRUE@ CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)"
\
@ENABLE_GTK_DOC_TRUE@ LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)"
\
- at ENABLE_GTK_DOC_TRUE@ gtkdoc-scangobj
--type-init-func="gst_init(NULL,NULL)" \
+ at ENABLE_GTK_DOC_TRUE@ gtkdoc-scangobj
--type-init-func="gst_init(&argc,&argv)" \
@ENABLE_GTK_DOC_TRUE@ --module=$(DOC_MODULE) ;
\
@ENABLE_GTK_DOC_TRUE@ else
\
@ENABLE_GTK_DOC_TRUE@ for i in $(SCANOBJ_FILES) ; do
\
diff -urN
gst-plugins-base0.10-0.10.31.2+git20110108.orig/gst-libs/gst/pbutils/Makefile.am
gst-plugins-base0.10-0.10.31.2+git20110108/gst-libs/gst/pbutils/Makefile.am
---
gst-plugins-base0.10-0.10.31.2+git20110108.orig/gst-libs/gst/pbutils/Makefile.am
2011-01-09 14:47:18.000000000 +0900
+++ gst-plugins-base0.10-0.10.31.2+git20110108/gst-libs/gst/pbutils/Makefile.am
2011-01-09 22:40:44.000000000 +0900
@@ -85,12 +85,13 @@
--add-include-path=$(srcdir)/../video \
--add-include-path=`$(PKG_CONFIG) --variable=girdir
gstreamer-0.10` \
--library=libgstpbutils-0.10.la \
+ --library=gstreamer-0.10 \
--include=Gst-0.10 \
--libtool="$(top_builddir)/libtool" \
--pkg gstreamer-0.10 \
--pkg gstreamer-video- at GST_MAJORMINOR@ \
--pkg-export gstreamer-pbutils- at GST_MAJORMINOR@ \
- --add-init-section="gst_init(NULL,NULL);" \
+ --add-init-section="gst_init(&argc,&argv);" \
--output $@ \
$(gir_headers) \
$(gir_sources)
diff -urN
gst-plugins-base0.10-0.10.31.2+git20110108.orig/gst-libs/gst/pbutils/Makefile.in
gst-plugins-base0.10-0.10.31.2+git20110108/gst-libs/gst/pbutils/Makefile.in
---
gst-plugins-base0.10-0.10.31.2+git20110108.orig/gst-libs/gst/pbutils/Makefile.in
2011-01-09 14:46:55.000000000 +0900
+++ gst-plugins-base0.10-0.10.31.2+git20110108/gst-libs/gst/pbutils/Makefile.in
2011-01-09 22:41:11.000000000 +0900
@@ -1116,12 +1116,13 @@
@HAVE_INTROSPECTION_TRUE@ --add-include-path=$(srcdir)/../video \
@HAVE_INTROSPECTION_TRUE@ --add-include-path=`$(PKG_CONFIG)
--variable=girdir gstreamer-0.10` \
@HAVE_INTROSPECTION_TRUE@ --library=libgstpbutils-0.10.la \
+ at HAVE_INTROSPECTION_TRUE@ --library=gstreamer-0.10 \
@HAVE_INTROSPECTION_TRUE@ --include=Gst-0.10 \
@HAVE_INTROSPECTION_TRUE@ --libtool="$(top_builddir)/libtool" \
@HAVE_INTROSPECTION_TRUE@ --pkg gstreamer-0.10 \
@HAVE_INTROSPECTION_TRUE@ --pkg gstreamer-video- at GST_MAJORMINOR@
\
@HAVE_INTROSPECTION_TRUE@ --pkg-export
gstreamer-pbutils- at GST_MAJORMINOR@ \
- at HAVE_INTROSPECTION_TRUE@
--add-init-section="gst_init(NULL,NULL);" \
+ at HAVE_INTROSPECTION_TRUE@
--add-init-section="gst_init(&argc,&argv);" \
@HAVE_INTROSPECTION_TRUE@ --output $@ \
@HAVE_INTROSPECTION_TRUE@ $(gir_headers) \
@HAVE_INTROSPECTION_TRUE@ $(gir_sources)
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the Gstreamer-bugs
mailing list