freebsd-ports/audio/ardour/files/patch-gtk2_ardour-connection_editor.h
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

25 lines
671 B
C

--- gtk2_ardour/connection_editor.h.orig
+++ gtk2_ardour/connection_editor.h
@@ -20,12 +20,7 @@
#ifndef __ardour_gtk_connection_editor_h__
#define __ardour_gtk_connection_editor_h__
-#if __GNUC__ >= 3
-#include <ext/slist>
-using __gnu_cxx::slist;
-#else
-#include <slist.h>
-#endif
+#include <boost/container/slist.hpp>
#include <gtkmm/box.h>
#include <gtkmm/window.h>
@@ -116,7 +111,7 @@ class ConnectionEditor : public ArdourDi
Gtk::Button add_port_button;
Glib::Mutex port_display_lock;
- slist<Gtk::ScrolledWindow *> port_displays;
+ boost::container::slist<Gtk::ScrolledWindow *> port_displays;
Gtk::Button ok_button;
Gtk::Button cancel_button;