[ardour-dev] recent sessions fix
beatroot at optushome.com.au
Mon Sep 19 12:57:51 PDT 2005
On Mon, 2005-09-19 at 20:33 +0200, Olivier Doaré wrote:
> nick mainsbridge a écrit :
> >this patch should remove older sessions from the recent sessions list,
> >as opposed to alphabetically later ones as is the case currently.
> Thank you for considering this problem!
> I patched latest cvs, but when compiling, i get :
> In file included from gtk_ardour/about.cc:45:
> gtk_ardour/ardour_ui.h:462: error: `pair' has not been declared
> gtk_ardour/ardour_ui.h:462: error: expected `,' or `...' before '<' token
> gtk_ardour/ardour_ui.h:462: error: ISO C++ forbids declaration of
> `parameter' with no type
> gtk_ardour/ardour_ui.h: In member function `bool
> ARDOUR_UI::RecentSessionsSorter::operator()(int) const':
> gtk_ardour/ardour_ui.h:463: error: `a' undeclared (first use this function)
> gtk_ardour/ardour_ui.h:463: error: (Each undeclared identifier is
> reported only once for each function it appears in.)
> gtk_ardour/ardour_ui.h:463: error: `b' undeclared (first use this function)
> scons: *** [gtk_ardour/about.o] Error 1
> scons: building terminated because of errors.
> I am using gcc-3.4.3 on a Mandriva 2005.
> In case this can be my fault, here is what i did:
> I patched using
> $ patch -i recent_sessions.diff
> and manually entering the filenames to patch, before recompiling.
ok. sorry about that. try this one.
you can apply the patch from within the ardour directory with:
patch -p0 < /location/of/recent_sessions2.diff
nick mainsbridge <beatroot at optushome.com.au>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2515 bytes
Desc: not available
More information about the Ardour-Dev