patch-libs_ardour_session_state_cc 746 B

123456789101112131415161718
  1. $OpenBSD: patch-libs_ardour_session_state_cc,v 1.1 2016/03/20 11:58:32 ajacoutot Exp $
  2. Fix build with libsigc++ >=2.8.0
  3. --- libs/ardour/session_state.cc.orig Sun Mar 20 11:13:54 2016
  4. +++ libs/ardour/session_state.cc Sun Mar 20 11:15:24 2016
  5. @@ -317,8 +317,8 @@ Session::second_stage_init (bool new_session)
  6. _state_of_the_state = StateOfTheState (_state_of_the_state|CannotSave|Loading);
  7. - _locations.changed.connect (mem_fun (this, &Session::locations_changed));
  8. - _locations.added.connect (mem_fun (this, &Session::locations_added));
  9. + _locations.changed.connect (mem_fun (*this, &Session::locations_changed));
  10. + _locations.added.connect (mem_fun (*this, &Session::locations_added));
  11. setup_click_sounds (0);
  12. setup_midi_control ();