$NetBSD: patch-common_tool_tool_manager.cpp,v 1.1 2016/09/08 09:32:28 bouyer Exp $ Fix for newer boost, from upstream developement branch --- common/tool/tool_manager.cpp.orig 2016-09-03 22:47:46.000000000 +0200 +++ common/tool/tool_manager.cpp 2016-09-07 19:03:09.000000000 +0200 @@ -542,11 +542,11 @@ if( st->cofunc ) st->Push(); + st->cofunc = new COROUTINE( tr.second ); + // as the state changes, the transition table has to be set up again st->transitions.clear(); - st->cofunc = new COROUTINE( tr.second ); - // got match? Run the handler. st->cofunc->Call( aEvent );