diff options
Diffstat (limited to 'dev-cpp/gstreamermm/files/gstreamermm-0.10.7-gcc45.patch')
-rw-r--r-- | dev-cpp/gstreamermm/files/gstreamermm-0.10.7-gcc45.patch | 184 |
1 files changed, 184 insertions, 0 deletions
diff --git a/dev-cpp/gstreamermm/files/gstreamermm-0.10.7-gcc45.patch b/dev-cpp/gstreamermm/files/gstreamermm-0.10.7-gcc45.patch new file mode 100644 index 000000000000..d38c59881d8d --- /dev/null +++ b/dev-cpp/gstreamermm/files/gstreamermm-0.10.7-gcc45.patch @@ -0,0 +1,184 @@ +Fixing build with gcc 4.5 + +http://bugs.gentoo.org/show_bug.cgi?id=319375 + +--- gstreamer/gstreamermm/bin.cc ++++ gstreamer/gstreamermm/bin.cc +@@ -658,62 +658,62 @@ + + Gst::Iterator<Gst::Element> Bin::iterate_elements() + { +- return Gst::Iterator<Gst::Element>::Iterator(gst_bin_iterate_elements(gobj())); ++ return Gst::Iterator<Gst::Element>(gst_bin_iterate_elements(gobj())); + } + + Gst::Iterator<const Gst::Element> Bin::iterate_elements() const + { +- return Gst::Iterator<const Gst::Element>::Iterator(gst_bin_iterate_elements(const_cast<GstBin*>(gobj()))); ++ return Gst::Iterator<const Gst::Element>(gst_bin_iterate_elements(const_cast<GstBin*>(gobj()))); + } + + Gst::Iterator<Gst::Element> Bin::iterate_recurse() + { +- return Gst::Iterator<Gst::Element>::Iterator(gst_bin_iterate_recurse(gobj())); ++ return Gst::Iterator<Gst::Element>(gst_bin_iterate_recurse(gobj())); + } + + Gst::Iterator<const Gst::Element> Bin::iterate_recurse() const + { +- return Gst::Iterator<const Gst::Element>::Iterator(gst_bin_iterate_recurse(const_cast<GstBin*>(gobj()))); ++ return Gst::Iterator<const Gst::Element>(gst_bin_iterate_recurse(const_cast<GstBin*>(gobj()))); + } + + Gst::Iterator<Gst::Element> Bin::iterate_sorted() + { +- return Gst::Iterator<Gst::Element>::Iterator(gst_bin_iterate_sorted(gobj())); ++ return Gst::Iterator<Gst::Element>(gst_bin_iterate_sorted(gobj())); + } + + Gst::Iterator<const Gst::Element> Bin::iterate_sorted() const + { +- return Gst::Iterator<const Gst::Element>::Iterator(gst_bin_iterate_sorted(const_cast<GstBin*>(gobj()))); ++ return Gst::Iterator<const Gst::Element>(gst_bin_iterate_sorted(const_cast<GstBin*>(gobj()))); + } + + Gst::Iterator<Gst::Element> Bin::iterate_sources() + { +- return Gst::Iterator<Gst::Element>::Iterator(gst_bin_iterate_sources(gobj())); ++ return Gst::Iterator<Gst::Element>(gst_bin_iterate_sources(gobj())); + } + + Gst::Iterator<const Gst::Element> Bin::iterate_sources() const + { +- return Gst::Iterator<const Gst::Element>::Iterator(gst_bin_iterate_sources(const_cast<GstBin*>(gobj()))); ++ return Gst::Iterator<const Gst::Element>(gst_bin_iterate_sources(const_cast<GstBin*>(gobj()))); + } + + Gst::Iterator<Gst::Element> Bin::iterate_sinks() + { +- return Gst::Iterator<Gst::Element>::Iterator(gst_bin_iterate_sinks(gobj())); ++ return Gst::Iterator<Gst::Element>(gst_bin_iterate_sinks(gobj())); + } + + Gst::Iterator<const Gst::Element> Bin::iterate_sinks() const + { +- return Gst::Iterator<const Gst::Element>::Iterator(gst_bin_iterate_sinks(const_cast<GstBin*>(gobj()))); ++ return Gst::Iterator<const Gst::Element>(gst_bin_iterate_sinks(const_cast<GstBin*>(gobj()))); + } + + Gst::Iterator<Gst::Element> Bin::iterate_by_interface(GType iface) + { +- return Gst::Iterator<Gst::Element>::Iterator(gst_bin_iterate_all_by_interface(gobj(), iface)); ++ return Gst::Iterator<Gst::Element>(gst_bin_iterate_all_by_interface(gobj(), iface)); + } + + Gst::Iterator<const Gst::Element> Bin::iterate_by_interface(GType iface) const + { +- return Gst::Iterator<const Gst::Element>::Iterator(gst_bin_iterate_all_by_interface(const_cast<GstBin*>(gobj()), iface)); ++ return Gst::Iterator<const Gst::Element>(gst_bin_iterate_all_by_interface(const_cast<GstBin*>(gobj()), iface)); + } + + bool Bin::recalculate_latency() +--- gstreamer/gstreamermm/format.cc ++++ gstreamer/gstreamermm/format.cc +@@ -94,7 +94,7 @@ + + IteratorBasic<const FormatDefinition> iterate_format_definitions() + { +- return IteratorBasic<const FormatDefinition>::IteratorBasic(gst_format_iterate_definitions()); ++ return IteratorBasic<const FormatDefinition>(gst_format_iterate_definitions()); + } + + } //namespace Gst +--- gstreamer/gstreamermm/element.cc ++++ gstreamer/gstreamermm/element.cc +@@ -1135,32 +1135,32 @@ + + Gst::Iterator<Gst::Pad> Element::iterate_pads() + { +- return Gst::Iterator<Gst::Pad>::Iterator(gst_element_iterate_pads(gobj())); ++ return Gst::Iterator<Gst::Pad>(gst_element_iterate_pads(gobj())); + } + + Gst::Iterator<const Gst::Pad> Element::iterate_pads() const + { +- return Gst::Iterator<const Gst::Pad>::Iterator(gst_element_iterate_pads(const_cast<GstElement*>(gobj()))); ++ return Gst::Iterator<const Gst::Pad>(gst_element_iterate_pads(const_cast<GstElement*>(gobj()))); + } + + Gst::Iterator<Gst::Pad> Element::iterate_sink_pads() + { +- return Gst::Iterator<Gst::Pad>::Iterator(gst_element_iterate_sink_pads(gobj())); ++ return Gst::Iterator<Gst::Pad>(gst_element_iterate_sink_pads(gobj())); + } + + Gst::Iterator<const Gst::Pad> Element::iterate_sink_pads() const + { +- return Gst::Iterator<const Gst::Pad>::Iterator(gst_element_iterate_sink_pads(const_cast<GstElement*>(gobj()))); ++ return Gst::Iterator<const Gst::Pad>(gst_element_iterate_sink_pads(const_cast<GstElement*>(gobj()))); + } + + Gst::Iterator<Gst::Pad> Element::iterate_src_pads() + { +- return Gst::Iterator<Gst::Pad>::Iterator(gst_element_iterate_src_pads(gobj())); ++ return Gst::Iterator<Gst::Pad>(gst_element_iterate_src_pads(gobj())); + } + + Gst::Iterator<const Gst::Pad> Element::iterate_src_pads() const + { +- return Gst::Iterator<const Gst::Pad>::Iterator(gst_element_iterate_src_pads(const_cast<GstElement*>(gobj()))); ++ return Gst::Iterator<const Gst::Pad>(gst_element_iterate_src_pads(const_cast<GstElement*>(gobj()))); + } + + void Element::unlink(const Glib::RefPtr<Gst::Element>& dest) +--- gstreamer/gstreamermm/pad.cc ++++ gstreamer/gstreamermm/pad.cc +@@ -857,22 +857,22 @@ + + Gst::Iterator<Gst::Pad> Pad::iterate_internal_links() + { +- return Gst::Iterator<Gst::Pad>::Iterator(gst_pad_iterate_internal_links(gobj())); ++ return Gst::Iterator<Gst::Pad>(gst_pad_iterate_internal_links(gobj())); + } + + Gst::Iterator<const Gst::Pad> Pad::iterate_internal_links() const + { +- return Gst::Iterator<const Gst::Pad>::Iterator(gst_pad_iterate_internal_links(const_cast<GstPad*>(gobj()))); ++ return Gst::Iterator<const Gst::Pad>(gst_pad_iterate_internal_links(const_cast<GstPad*>(gobj()))); + } + + Gst::Iterator<Gst::Pad> Pad::iterate_internal_links_default() + { +- return Gst::Iterator<Gst::Pad>::Iterator(gst_pad_iterate_internal_links_default(gobj())); ++ return Gst::Iterator<Gst::Pad>(gst_pad_iterate_internal_links_default(gobj())); + } + + Gst::Iterator<const Gst::Pad> Pad::iterate_internal_links_default() const + { +- return Gst::Iterator<const Gst::Pad>::Iterator(gst_pad_iterate_internal_links_default(const_cast<GstPad*>(gobj()))); ++ return Gst::Iterator<const Gst::Pad>(gst_pad_iterate_internal_links_default(const_cast<GstPad*>(gobj()))); + } + + Glib::ListHandle< Glib::RefPtr<Gst::Pad> > Pad::get_internal_links() +--- gstreamer/gstreamermm/query.cc ++++ gstreamer/gstreamermm/query.cc +@@ -810,7 +810,7 @@ + + Gst::IteratorBasic<const Gst::QueryTypeDefinition> Query::iterate_definitions() + { +- return Gst::IteratorBasic<const Gst::QueryTypeDefinition>::IteratorBasic(gst_query_type_iterate_definitions()); ++ return Gst::IteratorBasic<const Gst::QueryTypeDefinition>(gst_query_type_iterate_definitions()); + } + + +--- gstreamer/gstreamermm/mixer.cc ++++ gstreamer/gstreamermm/mixer.cc +@@ -207,7 +207,7 @@ + gst_mixer_get_volume(const_cast<GstMixer*>(gobj()), + const_cast<GstMixerTrack*>(Glib::unwrap(track)), volumes); + +- return Glib::ArrayHandle<int>::ArrayHandle(volumes, num_channels, ++ return Glib::ArrayHandle<int>(volumes, num_channels, + Glib::OWNERSHIP_DEEP); + } + |