$OpenBSD: patch-libs_ardour_session_state_cc,v 1.1 2016/03/20 11:58:32 ajacoutot Exp $

Fix build with libsigc++ >=2.8.0

--- libs/ardour/session_state.cc.orig	Sun Mar 20 11:13:54 2016
+++ libs/ardour/session_state.cc	Sun Mar 20 11:15:24 2016
@@ -317,8 +317,8 @@ Session::second_stage_init (bool new_session)
 	_state_of_the_state = StateOfTheState (_state_of_the_state|CannotSave|Loading);
 
 
-	_locations.changed.connect (mem_fun (this, &Session::locations_changed));
-	_locations.added.connect (mem_fun (this, &Session::locations_added));
+	_locations.changed.connect (mem_fun (*this, &Session::locations_changed));
+	_locations.added.connect (mem_fun (*this, &Session::locations_added));
 	setup_click_sounds (0);
 	setup_midi_control ();
 
