summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEldad Zack <eldad@gentoo.org>2004-07-16 09:35:12 +0000
committerEldad Zack <eldad@gentoo.org>2004-07-16 09:35:12 +0000
commit8272bdf83d081b5583746669d8c8af264906df5e (patch)
treec2798d53a4f0a2fc1b8644f5b088d81713a21b4f /media-sound/ardour
parent(Manifest recommit) (diff)
downloadhistorical-8272bdf83d081b5583746669d8c8af264906df5e.tar.gz
historical-8272bdf83d081b5583746669d8c8af264906df5e.tar.bz2
historical-8272bdf83d081b5583746669d8c8af264906df5e.zip
gcc3.4++ ; closes #56371
Diffstat (limited to 'media-sound/ardour')
-rw-r--r--media-sound/ardour/ChangeLog7
-rw-r--r--media-sound/ardour/Manifest19
-rw-r--r--media-sound/ardour/ardour-0.9_beta17.ebuild10
-rw-r--r--media-sound/ardour/files/ardour-gcc34.patch230
4 files changed, 260 insertions, 6 deletions
diff --git a/media-sound/ardour/ChangeLog b/media-sound/ardour/ChangeLog
index 75985ac590ab..eff272678b18 100644
--- a/media-sound/ardour/ChangeLog
+++ b/media-sound/ardour/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/ardour
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/ardour/ChangeLog,v 1.27 2004/07/09 09:53:37 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/ardour/ChangeLog,v 1.28 2004/07/16 09:35:12 eldad Exp $
+
+ 16 Jul 2004; Eldad Zack <eldad@gentoo.org> +files/ardour-gcc34.patch,
+ ardour-0.9_beta17.ebuild:
+ GCC 3.4 fix - Thanks to Patrick Dawson <pkdawson@buffalo.edu> for the patch.
+ closes #56371.
09 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
ardour-0.9_beta17.ebuild:
diff --git a/media-sound/ardour/Manifest b/media-sound/ardour/Manifest
index 0560461834d2..0a35581f86be 100644
--- a/media-sound/ardour/Manifest
+++ b/media-sound/ardour/Manifest
@@ -1,10 +1,21 @@
-MD5 b0e9d986ff5bba33e45b8a0222e75d57 ChangeLog 4116
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 7d3441226b962d038a5e288ada67058e ardour-0.9_beta16.ebuild 1175
MD5 f197fc6c26a82d2b0f105f775c74dc46 ardour-0.9_beta11-r1.ebuild 1177
+MD5 85ae7ef7d14a7eee5260cac5e52a82be ardour-0.9_beta17.ebuild 1267
MD5 ae6da285ffd7cfde5c24ce3f4d585fae ardour-0.9_beta14.ebuild 1175
+MD5 63fded7f3804942f1ab5fb8631b23c40 ChangeLog 4308
MD5 184254bf5fd6fc886650627356056e6d metadata.xml 429
-MD5 7d3441226b962d038a5e288ada67058e ardour-0.9_beta16.ebuild 1175
-MD5 802a4a18d5e9dd8d8525aacca5c911a5 ardour-0.9_beta17.ebuild 1177
-MD5 d20e0aaa416ef820fd3c6767245288e8 files/digest-ardour-0.9_beta11-r1 72
MD5 70693c54e8c510859384503ff9ed10cc files/digest-ardour-0.9_beta14 72
MD5 3e39c45e572cf4ec921e0554fd226f11 files/digest-ardour-0.9_beta16 72
MD5 df7a09804b9e2413a2e3163cd6ee9c63 files/digest-ardour-0.9_beta17 72
+MD5 e016dfbfc8e85547954395c455b04e61 files/ardour-gcc34.patch 9562
+MD5 d20e0aaa416ef820fd3c6767245288e8 files/digest-ardour-0.9_beta11-r1 72
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.4 (GNU/Linux)
+
+iD8DBQFA96DJT+MN7JbqCpMRAj2CAJ9rGWhuzoUWJhyfWUTcXEZmBsV3/ACeJQXn
+pqcrnGjVvEmmcTLptLxrOPs=
+=LRct
+-----END PGP SIGNATURE-----
diff --git a/media-sound/ardour/ardour-0.9_beta17.ebuild b/media-sound/ardour/ardour-0.9_beta17.ebuild
index 6f88099a67c1..99382397840b 100644
--- a/media-sound/ardour/ardour-0.9_beta17.ebuild
+++ b/media-sound/ardour/ardour-0.9_beta17.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/ardour/ardour-0.9_beta17.ebuild,v 1.2 2004/07/09 09:53:37 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/ardour/ardour-0.9_beta17.ebuild,v 1.3 2004/07/16 09:35:12 eldad Exp $
+
+inherit eutils
MY_P="${P}.1"
MY_PV="${PV}.1"
@@ -32,6 +34,12 @@ DEPEND="${RDEPEND}
S="${WORKDIR}/${MY_P/_/}"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/ardour-gcc34.patch
+}
+
src_compile() {
local myconf="--disable-dependency-tracking --enable-optimize"
diff --git a/media-sound/ardour/files/ardour-gcc34.patch b/media-sound/ardour/files/ardour-gcc34.patch
new file mode 100644
index 000000000000..5fe73180c1ce
--- /dev/null
+++ b/media-sound/ardour/files/ardour-gcc34.patch
@@ -0,0 +1,230 @@
+diff -ur ardour-0.9beta17.1.orig/gtk_ardour/ardour_dialog.h ardour-0.9beta17.1/gtk_ardour/ardour_dialog.h
+--- ardour-0.9beta17.1.orig/gtk_ardour/ardour_dialog.h 2004-07-11 16:39:53.000864856 -0400
++++ ardour-0.9beta17.1/gtk_ardour/ardour_dialog.h 2004-07-11 16:40:00.998649008 -0400
+@@ -48,7 +48,6 @@
+ void set_keyboard_input (bool yn);
+ int run_status();
+
+- protected:
+ gint enter_notify_event_impl (GdkEventCrossing*);
+ gint leave_notify_event_impl (GdkEventCrossing*);
+ gint unmap_event_impl (GdkEventAny *);
+diff -ur ardour-0.9beta17.1.orig/gtk_ardour/audio_time_axis.h ardour-0.9beta17.1/gtk_ardour/audio_time_axis.h
+--- ardour-0.9beta17.1.orig/gtk_ardour/audio_time_axis.h 2004-07-11 16:39:53.013862880 -0400
++++ ardour-0.9beta17.1/gtk_ardour/audio_time_axis.h 2004-07-11 16:40:00.999648856 -0400
+@@ -252,7 +252,7 @@
+ void show_all_automation ();
+ void show_existing_automation ();
+
+- friend struct RedirectAutomationNode {
++ struct RedirectAutomationNode {
+ unsigned long what;
+ Gtk::CheckMenuItem* menu_item;
+ AutomationTimeAxisView* view;
+@@ -264,7 +264,7 @@
+ ~RedirectAutomationNode ();
+ };
+
+- friend struct RedirectAutomationInfo {
++ struct RedirectAutomationInfo {
+ ARDOUR::Redirect* redirect;
+ bool valid;
+ Gtk::Menu* menu;
+diff -ur ardour-0.9beta17.1.orig/gtk_ardour/editor_ops.cc ardour-0.9beta17.1/gtk_ardour/editor_ops.cc
+--- ardour-0.9beta17.1.orig/gtk_ardour/editor_ops.cc 2004-07-11 16:39:52.999865008 -0400
++++ ardour-0.9beta17.1/gtk_ardour/editor_ops.cc 2004-07-11 16:40:01.001648552 -0400
+@@ -2814,7 +2814,6 @@
+ void
+ Editor::paste_named_selection (float times)
+ {
+- using Gtk::CList_Helpers;
+ Gtk::CList_Helpers::SelectionList& selected = named_selection_display.selection();
+ TrackSelection::iterator i;
+
+diff -ur ardour-0.9beta17.1.orig/gtk_ardour/editor_region_list.cc ardour-0.9beta17.1/gtk_ardour/editor_region_list.cc
+--- ardour-0.9beta17.1.orig/gtk_ardour/editor_region_list.cc 2004-07-11 16:39:52.999865008 -0400
++++ ardour-0.9beta17.1/gtk_ardour/editor_region_list.cc 2004-07-11 16:40:01.002648400 -0400
+@@ -195,7 +195,6 @@
+ void
+ Editor::add_audio_region_to_region_display (AudioRegion *region)
+ {
+- using Gtk::CTree_Helpers;
+
+ vector<const char*> item;
+ Gtk::CTree_Helpers::RowList::iterator i;
+diff -ur ardour-0.9beta17.1.orig/gtk_ardour/mixer_strip.cc ardour-0.9beta17.1/gtk_ardour/mixer_strip.cc
+--- ardour-0.9beta17.1.orig/gtk_ardour/mixer_strip.cc 2004-07-11 16:39:53.016862424 -0400
++++ ardour-0.9beta17.1/gtk_ardour/mixer_strip.cc 2004-07-11 16:40:01.005647944 -0400
+@@ -1829,7 +1829,6 @@
+ gint
+ MixerStrip::compute_redirect_sort_keys ()
+ {
+- using Gtk::CList_Helpers;
+ CList_Helpers::RowList::iterator i;
+ unsigned long sort_key;
+
+diff -ur ardour-0.9beta17.1.orig/gtk_ardour/route_params_ui.cc ardour-0.9beta17.1/gtk_ardour/route_params_ui.cc
+--- ardour-0.9beta17.1.orig/gtk_ardour/route_params_ui.cc 2004-07-11 16:39:53.008863640 -0400
++++ ardour-0.9beta17.1/gtk_ardour/route_params_ui.cc 2004-07-11 16:40:01.007647640 -0400
+@@ -1037,7 +1037,6 @@
+ gint
+ RouteParams_UI::compute_redirect_sort_keys ()
+ {
+- using Gtk::CList_Helpers;
+ CList_Helpers::RowList::iterator i;
+ unsigned long sort_key;
+
+diff -ur ardour-0.9beta17.1.orig/gtk_ardour/route_ui.h ardour-0.9beta17.1/gtk_ardour/route_ui.h
+--- ardour-0.9beta17.1.orig/gtk_ardour/route_ui.h 2004-07-11 16:39:53.002864552 -0400
++++ ardour-0.9beta17.1/gtk_ardour/route_ui.h 2004-07-11 16:40:01.007647640 -0400
+@@ -48,7 +48,6 @@
+
+ string name() const;
+
+- protected:
+ ARDOUR::Route& _route;
+
+
+diff -ur ardour-0.9beta17.1.orig/gtk_ardour/visual_time_axis.h ardour-0.9beta17.1/gtk_ardour/visual_time_axis.h
+--- ardour-0.9beta17.1.orig/gtk_ardour/visual_time_axis.h 2004-07-11 16:39:52.977868352 -0400
++++ ardour-0.9beta17.1/gtk_ardour/visual_time_axis.h 2004-07-11 16:40:01.008647488 -0400
+@@ -135,7 +135,6 @@
+ */
+ //SigC::Signal2<void,std::string,void*> VisualTimeAxisRemoved ;
+
+- protected:
+ //---------------------------------------------------------------------------------------//
+ // Constructor / Desctructor
+
+diff -ur ardour-0.9beta17.1.orig/libs/ardour/ardour/tempo.h ardour-0.9beta17.1/libs/ardour/ardour/tempo.h
+--- ardour-0.9beta17.1.orig/libs/ardour/ardour/tempo.h 2004-07-11 16:39:52.854887048 -0400
++++ ardour-0.9beta17.1/libs/ardour/ardour/tempo.h 2004-07-11 16:40:01.010647184 -0400
+@@ -178,12 +178,12 @@
+ };
+
+ typedef vector<BBTPoint> BBTPointList;
+-
++#if 0
+ template<class T> void apply_with_points (T& obj, void (T::*method)(BBTPointList&)) {
+ LockMonitor lm (lock, __LINE__, __FILE__);
+ (obj.*method)(bbt_points);
+ }
+-
++#endif
+
+ template<class T> void apply_with_metrics (T& obj, void (T::*method)(const Metrics&)) {
+ LockMonitor lm (lock, __LINE__, __FILE__);
+diff -ur ardour-0.9beta17.1.orig/libs/gtkmm/src/build_sources/proxy.h.m4 ardour-0.9beta17.1/libs/gtkmm/src/build_sources/proxy.h.m4
+--- ardour-0.9beta17.1.orig/libs/gtkmm/src/build_sources/proxy.h.m4 2004-07-11 16:39:52.783897840 -0400
++++ ardour-0.9beta17.1/libs/gtkmm/src/build_sources/proxy.h.m4 2004-07-11 16:40:01.011647032 -0400
+@@ -167,6 +167,7 @@
+ }
+
+ public:
++ using [ProxySignal]NUM($1)<LIST([R],1,ARG_TYPE($1),[$1],[Obj,gObj,index],1)>::obj;
+ SlotType slot()
+ {
+ SigC::SlotData* tmp=manage(new SigC::SlotData());
+diff -ur ardour-0.9beta17.1.orig/libs/gtkmm/src/curve.gen_h ardour-0.9beta17.1/libs/gtkmm/src/curve.gen_h
+--- ardour-0.9beta17.1.orig/libs/gtkmm/src/curve.gen_h 2004-07-11 16:39:52.799895408 -0400
++++ ardour-0.9beta17.1/libs/gtkmm/src/curve.gen_h 2004-07-11 16:40:01.011647032 -0400
+@@ -136,6 +136,7 @@
+ void gtk_curve_get_vector(GtkCurve*,int,gfloat*),
+ void get_vector(int num,gfloat* data));
+
++#if 0
+ // For containers
+ template <class Iterator>
+ int get_vector(Iterator b,Iterator e) const
+@@ -150,6 +151,7 @@
+ delete [] data;
+ return i;
+ };
++#endif
+
+ //void gtk_curve_set_vector(GtkCurve*,int,gfloat[]);
+ //: Sets the vector of points on the curve.
+diff -ur ardour-0.9beta17.1.orig/libs/gtkmm/src/gtk--/base.h ardour-0.9beta17.1/libs/gtkmm/src/gtk--/base.h
+--- ardour-0.9beta17.1.orig/libs/gtkmm/src/gtk--/base.h 2004-07-11 16:39:52.784897688 -0400
++++ ardour-0.9beta17.1/libs/gtkmm/src/gtk--/base.h 2004-07-11 16:41:02.354321528 -0400
+@@ -482,7 +482,7 @@
+ value_type operator*() const
+ {
+ if (node && node->data)
+- return Gtk::wrap(static_cast<impl*>((*node).data));
++ return static_cast<value_type>( Gtk::wrap_auto((GtkObject*)static_cast<impl*>((*node).data)) );
+ return 0;
+ }
+
+diff -ur ardour-0.9beta17.1.orig/libs/gtkmmext/pix.cc ardour-0.9beta17.1/libs/gtkmmext/pix.cc
+--- ardour-0.9beta17.1.orig/libs/gtkmmext/pix.cc 2004-07-11 16:39:52.901879904 -0400
++++ ardour-0.9beta17.1/libs/gtkmmext/pix.cc 2004-07-11 16:40:01.012646880 -0400
+@@ -36,7 +36,7 @@
+
+ namespace std
+ {
+- struct less<string *> {
++ template<> struct less<string *> {
+ bool operator()(string *s1, string *s2) const {
+ return *s1 < *s2;
+ }
+diff -ur ardour-0.9beta17.1.orig/libs/pbd/pbd/stl_delete.h ardour-0.9beta17.1/libs/pbd/pbd/stl_delete.h
+--- ardour-0.9beta17.1.orig/libs/pbd/pbd/stl_delete.h 2004-07-11 16:39:52.763900880 -0400
++++ ardour-0.9beta17.1/libs/pbd/pbd/stl_delete.h 2004-07-11 16:40:01.013646728 -0400
+@@ -24,7 +24,7 @@
+ /* To actually use any of these deletion functions, you need to
+ first include the revelant container type header.
+ */
+-#if defined(_CPP_VECTOR) || defined(__SGI_STL_VECTOR)
++#if defined(_CPP_VECTOR) || defined(_GLIBCXX_VECTOR) || defined(__SGI_STL_VECTOR)
+ template<class T> void vector_delete (std::vector<T *> *vec)
+ {
+ typename std::vector<T *>::iterator i;
+@@ -36,7 +36,7 @@
+ }
+ #endif // _CPP_VECTOR || __SGI_STL_VECTOR
+
+-#if defined(_CPP_MAP) || defined(__SGI_STL_MAP)
++#if defined(_CPP_MAP) || defined(_GLIBCXX_MAP) || defined(__SGI_STL_MAP)
+ template<class K, class T> void map_delete (std::map<K, T *> *m)
+ {
+ typename std::map<K, T *>::iterator i;
+@@ -48,7 +48,7 @@
+ }
+ #endif // _CPP_MAP || __SGI_STL_MAP
+
+-#if defined(_CPP_LIST) || defined(__SGI_STL_LIST)
++#if defined(_CPP_LIST) || defined(_GLIBCXX_LIST) || defined(__SGI_STL_LIST)
+ template<class T> void list_delete (std::list<T *> *l)
+ {
+ typename std::list<T *>::iterator i;
+@@ -61,7 +61,7 @@
+ }
+ #endif // _CPP_LIST || __SGI_STL_LIST
+
+-#if defined(_CPP_SLIST) || defined(__SGI_STL_SLIST)
++#if defined(_CPP_SLIST) || defined(_GLIBCXX_SLIST) || defined(__SGI_STL_SLIST)
+ template<class T> void slist_delete (std::slist<T *> *l)
+ {
+ typename std::slist<T *>::iterator i;
+@@ -74,7 +74,7 @@
+ }
+ #endif // _CPP_SLIST || __SGI_STL_SLIST
+
+-#if defined(_CPP_SET) || defined(__SGI_STL_SET)
++#if defined(_CPP_SET) || defined(_GLIBCXX_SET) || defined(__SGI_STL_SET)
+ template<class T> void set_delete (std::set<T *> *sset)
+ {
+ typename std::set<T *>::iterator i;
+diff -ur ardour-0.9beta17.1.orig/libs/sigc++/sigc++/macros/class_slot.h.m4 ardour-0.9beta17.1/libs/sigc++/sigc++/macros/class_slot.h.m4
+--- ardour-0.9beta17.1.orig/libs/sigc++/sigc++/macros/class_slot.h.m4 2004-07-11 16:39:52.933875040 -0400
++++ ardour-0.9beta17.1/libs/sigc++/sigc++/macros/class_slot.h.m4 2004-07-11 16:40:01.014646576 -0400
+@@ -77,7 +77,7 @@
+ if (!obj) return 0;
+ SlotData* tmp=manage(new SlotData());
+ CallData &data=reinterpret_cast<CallData&>(tmp->data_);
+- data.callback=&callback;
++ data.callback=&[ObjectSlot]NUM($1)_<LIST(R,1,ARG_TYPE($1),[$1],Obj,1)>::callback;
+ data.obj=&obj;
+ data.func=(Func)func;
+ return tmp;