diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-05-14 17:54:28 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-05-14 17:54:28 +0000 |
commit | b28b91a64d7f2fc4a1c66c4c4cfebb1e52e436ec (patch) | |
tree | 21f18581d2c231096b67b074a6d58d3a0ba94d5f /dev-cpp | |
parent | Version bump. Support for new firwares. Clean up old revision. (diff) | |
download | historical-b28b91a64d7f2fc4a1c66c4c4cfebb1e52e436ec.tar.gz historical-b28b91a64d7f2fc4a1c66c4c4cfebb1e52e436ec.tar.bz2 historical-b28b91a64d7f2fc4a1c66c4c4cfebb1e52e436ec.zip |
Fix building with GCC 4.5 wrt #319375 by Kacper Kowalik.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'dev-cpp')
-rw-r--r-- | dev-cpp/gstreamermm/ChangeLog | 6 | ||||
-rw-r--r-- | dev-cpp/gstreamermm/Manifest | 15 | ||||
-rw-r--r-- | dev-cpp/gstreamermm/files/gstreamermm-0.10.7-gcc45.patch | 184 | ||||
-rw-r--r-- | dev-cpp/gstreamermm/gstreamermm-0.10.7.ebuild | 9 |
4 files changed, 199 insertions, 15 deletions
diff --git a/dev-cpp/gstreamermm/ChangeLog b/dev-cpp/gstreamermm/ChangeLog index 5aae8ac6b3ac..fddb6840aaf7 100644 --- a/dev-cpp/gstreamermm/ChangeLog +++ b/dev-cpp/gstreamermm/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-cpp/gstreamermm # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gstreamermm/ChangeLog,v 1.4 2010/04/18 22:09:29 eva Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gstreamermm/ChangeLog,v 1.5 2010/05/14 17:54:28 ssuominen Exp $ + + 14 May 2010; Samuli Suominen <ssuominen@gentoo.org> + gstreamermm-0.10.7.ebuild, +files/gstreamermm-0.10.7-gcc45.patch: + Fix building with GCC 4.5 wrt #319375 by Kacper Kowalik. *gstreamermm-0.10.7 (18 Apr 2010) diff --git a/dev-cpp/gstreamermm/Manifest b/dev-cpp/gstreamermm/Manifest index a8512167e6f1..5e739c42a1df 100644 --- a/dev-cpp/gstreamermm/Manifest +++ b/dev-cpp/gstreamermm/Manifest @@ -1,16 +1,7 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - +AUX gstreamermm-0.10.7-gcc45.patch 7280 RMD160 e7df9c82328a3e809545f530405de9ff0ea585bd SHA1 f28423bd101238ccae7d3a06116596a4aec5a2ee SHA256 50611c392a4e9865643aff787e14c5321673a3ab7b33708e229a0f5d84c7a0cb DIST gstreamermm-0.10.6.tar.bz2 5258082 RMD160 46f6ec862f7beeef5703c475e966d151e8c2cf27 SHA1 51d5d4a919f7d2a8676c4c73d678c1eb83dc8601 SHA256 f14169226973e47ed51f7f555f9fff5877413c3f0af5495735ac03ce4f51fc09 DIST gstreamermm-0.10.7.tar.bz2 5390860 RMD160 af7b1163eba8c5baa4faf28cec93821fe75927e5 SHA1 a3a0ad4660fecd1f953e6aa794f32e338493dfac SHA256 9ca91368c7f57b8b430af01977e42de9c3f7d1e38be92ca015724e19bc882274 EBUILD gstreamermm-0.10.6.ebuild 1041 RMD160 97536f1e7e5d5bc9d82dac352ac1f4bd67390053 SHA1 4ec29184f957d3b332a359b77c40bace8e5fc1ac SHA256 648aea219c2a9f0d2898e55d29a07f86d26f08e7437ccd38911d184aba7e6260 -EBUILD gstreamermm-0.10.7.ebuild 1072 RMD160 6977ea548de05331f9add7a22d3d7adec07d31e0 SHA1 cfc7e36289fc1946c19de056fa0f3e3859a0fd37 SHA256 9bc75e99030080dd4adf67a1cc84d11488313c346044f7bd713f69f6757d021b -MISC ChangeLog 922 RMD160 49fcb821e81a7a295d2535df72c758b12ebe5413 SHA1 d5552cd91810461ff0c977e6ffc0ed11879878f7 SHA256 5b71c2e8ddab57decc436bfb2bb772a32c9388bd1293c56f6aa03ab39dfe5583 +EBUILD gstreamermm-0.10.7.ebuild 1163 RMD160 e7702a1f77bd276852b66ea66216d8a92ec9e3f5 SHA1 543e25190b7a120d983a0266c199248340905e7e SHA256 8eb115c0764ec8d460460a0fbaef6c9b237bdd304abbaf8529257bcd462b38a3 +MISC ChangeLog 1110 RMD160 12bd386491b9bd1d8ed5505d704f91537cc328a6 SHA1 5deb5d6076d82116472738178f9daff2e1a8ecc6 SHA256 9db1ec730bd50aa69f856cf5754841a118d76e74283d3755dde4963517d2c4af MISC metadata.xml 336 RMD160 96ef7e8b63752abbb94b4a6b2cc708f62ed4383f SHA1 b8a5fc488b314dbf996b3784e05d273585364782 SHA256 564e0692ab45e0c1e814a421e2a8cb9d73ef724bc82b484900a08f50d90424ea ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.14 (GNU/Linux) - -iEYEARECAAYFAkvLgx8ACgkQ1fmVwcYIWAYwqACeLWVRrjeQqjOoypFXopldxOIM -0Y4AoJBlY9kl69KHTVge6TyCTEVd4dvh -=jUy9 ------END PGP SIGNATURE----- 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); + } + diff --git a/dev-cpp/gstreamermm/gstreamermm-0.10.7.ebuild b/dev-cpp/gstreamermm/gstreamermm-0.10.7.ebuild index 25ba41d4b180..95c1a4a92feb 100644 --- a/dev-cpp/gstreamermm/gstreamermm-0.10.7.ebuild +++ b/dev-cpp/gstreamermm/gstreamermm-0.10.7.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gstreamermm/gstreamermm-0.10.7.ebuild,v 1.1 2010/04/18 22:09:29 eva Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gstreamermm/gstreamermm-0.10.7.ebuild,v 1.2 2010/05/14 17:54:28 ssuominen Exp $ EAPI=2 -inherit gnome2 +inherit eutils gnome2 DESCRIPTION="C++ interface for GStreamer" HOMEPAGE="http://gstreamer.freedesktop.org/bindings/cplusplus.html" @@ -26,6 +26,11 @@ RDEPEND=" DEPEND="${RDEPEND} dev-util/pkgconfig" +src_prepare() { + epatch "${FILESDIR}"/${P}-gcc45.patch + gnome2_src_prepare +} + src_test() { # explicitly allow parallel make of tests: they are not built in # src_compile() and indeed we'd slow down tremendously to run this |