diff options
| author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2013-09-23 20:08:30 +0000 |
|---|---|---|
| committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2013-09-23 20:08:30 +0000 |
| commit | 3d743d316256ec2761e73dd37ccb92f6143f176d (patch) | |
| tree | 5472808bcdfe46d0915bbf33957e5552aec8ad38 /devel/luabind/files | |
| parent | Introduce a new MANDIRS macros to make the compress-man determine where the m... (diff) | |
- 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]
Diffstat (limited to 'devel/luabind/files')
4 files changed, 88 insertions, 0 deletions
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 + diff --git a/devel/luabind/files/patch-luabind-detail-call__member.hpp b/devel/luabind/files/patch-luabind-detail-call__member.hpp new file mode 100644 index 000000000000..6f3d395b7dd8 --- /dev/null +++ b/devel/luabind/files/patch-luabind-detail-call__member.hpp @@ -0,0 +1,18 @@ +--- luabind/detail/call_member.hpp.orig 2010-08-31 17:24:52.000000000 +0400 ++++ luabind/detail/call_member.hpp 2013-09-23 22:19:01.134520448 +0400 +@@ -316,7 +316,8 @@ + + #endif // LUABIND_CALL_MEMBER_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 +@@ -360,4 +361,5 @@ + #undef LUABIND_TUPLE_PARAMS + + #endif ++#endif + diff --git a/devel/luabind/files/patch-luabind-detail-format__signature.hpp b/devel/luabind/files/patch-luabind-detail-format__signature.hpp new file mode 100644 index 000000000000..23ff4701112c --- /dev/null +++ b/devel/luabind/files/patch-luabind-detail-format__signature.hpp @@ -0,0 +1,35 @@ +commit 3044a9053ac50977684a75c4af42b2bddb853fad +Author: Daniel Wallin <daniel@boostpro.com> +Date: Mon Oct 11 14:33:23 2010 +0200 + + Proper forward declarations for object wrappers. Now builds on clang! + +diff --git luabind/detail/format_signature.hpp luabind/detail/format_signature.hpp +index 56e7963..b447bc9 100644 +--- luabind/detail/format_signature.hpp ++++ luabind/detail/format_signature.hpp +@@ -13,12 +13,19 @@ + # include <boost/mpl/next.hpp> + # include <boost/mpl/size.hpp> + +-namespace luabind { ++namespace luabind { namespace adl ++{ + +-class object; +-class argument; +-template <class Base> +-struct table; ++ class object; ++ class argument; ++ template <class Base> ++ struct table; ++ ++} // namespace adl ++ ++using adl::object; ++using adl::argument; ++using adl::table; + + } // namespace luabind + diff --git a/devel/luabind/files/patch-luabind-wrapper__base.hpp b/devel/luabind/files/patch-luabind-wrapper__base.hpp new file mode 100644 index 000000000000..402f567ba379 --- /dev/null +++ b/devel/luabind/files/patch-luabind-wrapper__base.hpp @@ -0,0 +1,17 @@ +--- luabind/wrapper_base.hpp.orig 2010-08-31 17:24:52.000000000 +0400 ++++ luabind/wrapper_base.hpp 2013-09-23 22:18:10.975519864 +0400 +@@ -89,7 +89,8 @@ + + #endif // LUABIND_WRAPPER_BASE_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 +@@ -188,3 +189,4 @@ + #undef N + + #endif ++#endif |
