diff options
Diffstat (limited to 'cad/kicad/patches/patch-include_tool_tool_interactive.h')
-rw-r--r-- | cad/kicad/patches/patch-include_tool_tool_interactive.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/cad/kicad/patches/patch-include_tool_tool_interactive.h b/cad/kicad/patches/patch-include_tool_tool_interactive.h new file mode 100644 index 00000000000..82a7e5ef4da --- /dev/null +++ b/cad/kicad/patches/patch-include_tool_tool_interactive.h @@ -0,0 +1,22 @@ +$NetBSD: patch-include_tool_tool_interactive.h,v 1.1 2016/09/08 09:32:28 bouyer Exp $ +Fix for newer boost, from upstream developement branch + +--- include/tool/tool_interactive.h.orig 2016-09-03 22:47:50.000000000 +0200 ++++ include/tool/tool_interactive.h 2016-09-07 19:03:09.000000000 +0200 +@@ -3,6 +3,7 @@ + * + * Copyright (C) 2013 CERN + * @author Tomasz Wlostowski <tomasz.wlostowski@cern.ch> ++ * 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 +@@ -113,7 +114,7 @@ + void TOOL_INTERACTIVE::Go( int (T::* aStateFunc)( const TOOL_EVENT& ), + const TOOL_EVENT_LIST& aConditions ) + { +- TOOL_STATE_FUNC sptr( static_cast<T*>( this ), aStateFunc ); ++ TOOL_STATE_FUNC sptr = std::bind( aStateFunc, static_cast<T*>( this ), std::placeholders::_1 ); + + goInternal( sptr, aConditions ); + } |