freebsd-ports/audio/ardour/files/patch-libs-ardour-ardour-io.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

13 lines
302 B
C++

--- libs/ardour/ardour/io.h.orig
+++ libs/ardour/ardour/io.h
@@ -288,6 +288,10 @@ class IO : public PBD::StatefulDestructi
XMLNode *pending_state_node;
int ports_became_legal ();
+ static bool connecting_is_legal() {
+ return connecting_legal;
+ }
+
private:
mutable Glib::Mutex io_lock;