From 3d743d316256ec2761e73dd37ccb92f6143f176d Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Mon, 23 Sep 2013 20:08:30 +0000 Subject: - Fix build with clang [1] - Fix build with gcc 4.6+ [2] - Implement staging support Obtained from: https://github.com/luabind/luabind/commit/3044a9053ac50977684a75c4af42b2bddb853fad [1] http://thread.gmane.org/gmane.comp.lib.boost.devel/228802 [2] --- .../files/patch-luabind-detail-call__function.hpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 devel/luabind/files/patch-luabind-detail-call__function.hpp (limited to 'devel/luabind/files/patch-luabind-detail-call__function.hpp') diff --git a/devel/luabind/files/patch-luabind-detail-call__function.hpp b/devel/luabind/files/patch-luabind-detail-call__function.hpp new file mode 100644 index 000000000000..103edcedf450 --- /dev/null +++ b/devel/luabind/files/patch-luabind-detail-call__function.hpp @@ -0,0 +1,18 @@ +--- luabind/detail/call_function.hpp.orig 2010-08-31 17:24:52.000000000 +0400 ++++ luabind/detail/call_function.hpp 2013-09-23 22:18:38.767518606 +0400 +@@ -323,7 +323,8 @@ + + #endif // LUABIND_CALL_FUNCTION_HPP_INCLUDED + +-#elif BOOST_PP_ITERATION_FLAGS() == 1 ++#else ++#if BOOST_PP_ITERATION_FLAGS() == 1 + + #define LUABIND_TUPLE_PARAMS(z, n, data) const A##n * + #define LUABIND_OPERATOR_PARAMS(z, n, data) const A##n & a##n +@@ -440,4 +441,5 @@ + + + #endif ++#endif + -- cgit v1.2.3