1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/audio/ardour/files/patch-gtk2_ardour-connection_editor.cc
Alexey Dokuchaev ef0ae999f6 - Add a proxy method to access protected IO::connecting_legal field from
Session::add_routes(); no idea why it worked before with GCC 4.2
- Switch from using non-standard STL slist container (which is not available
  with libc++) to the one provided by boost::container::slist, it allows to
  build Ardour on all supported FreeBSD versions/compilers
- Fix remaining cases of boost::shared_ptr to fix the build against Clang
2013-12-24 04:01:44 +00:00

24 lines
937 B
C++

--- gtk2_ardour/connection_editor.cc.orig
+++ gtk2_ardour/connection_editor.cc
@@ -502,9 +502,9 @@ ConnectionEditor::display_connection_sta
frame_label += _("\"");
port_frame.set_label (frame_label);
- for (slist<ScrolledWindow *>::iterator i = port_displays.begin(); i != port_displays.end(); ) {
+ for (boost::container::slist<ScrolledWindow *>::iterator i = port_displays.begin(); i != port_displays.end(); ) {
- slist<ScrolledWindow *>::iterator tmp;
+ boost::container::slist<ScrolledWindow *>::iterator tmp;
tmp = i;
tmp++;
@@ -612,7 +612,7 @@ ConnectionEditor::connection_port_button
tview->set_name ("ConnectionEditorPortListSelected");
- for (slist<ScrolledWindow *>::iterator i = port_displays.begin(); i != port_displays.end(); ++i) {
+ for (boost::container::slist<ScrolledWindow *>::iterator i = port_displays.begin(); i != port_displays.end(); ++i) {
Widget *child = (*i)->get_child();