$NetBSD: patch-include_tool_tool_base.h,v 1.1 2016/09/08 09:32:28 bouyer Exp $ Fix for newer boost, from upstream developement branch --- include/tool/tool_base.h.orig 2016-09-03 22:47:50.000000000 +0200 +++ include/tool/tool_base.h 2016-09-07 19:03:09.000000000 +0200 @@ -3,6 +3,7 @@ * * Copyright (C) 2013 CERN * @author Tomasz Wlostowski + * Copyright (C) 2016 KiCad Developers, see AUTHORS.txt for contributors. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -31,7 +32,7 @@ #include #include -#include +#include class EDA_ITEM; class TOOL_MANAGER; @@ -53,7 +54,9 @@ /// Unique identifier for tools typedef int TOOL_ID; -typedef DELEGATE TOOL_STATE_FUNC; + +using TOOL_STATE_FUNC = std::function; + /** * Class TOOL_BASE