1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/audio/ardour/files/patch-gtk2_ardour-io_selector.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

26 lines
603 B
C++

--- gtk2_ardour/io_selector.h.orig
+++ gtk2_ardour/io_selector.h
@@ -20,12 +20,7 @@
#ifndef __ardour_ui_io_selector_h__
#define __ardour_ui_io_selector_h__
-#if __GNUC__ >= 3
-#include <ext/slist>
-using __gnu_cxx::slist;
-#else
-#include <slist.h>
-#endif
+#include <boost/container/slist.hpp>
#include <string>
@@ -110,7 +105,7 @@ class IOSelector : public Gtk::VBox {
Gtk::ScrolledWindow port_display_scroller;
Glib::Mutex port_display_lock;
- slist<Gtk::TreeView *> port_displays;
+ boost::container::slist<Gtk::TreeView *> port_displays;
void display_ports ();
void rescan ();