1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/devel/luabind/files/patch-luabind-wrapper__base.hpp
Dmitry Marakasov 3d743d3162 - Fix build with clang [1]
- Fix build with gcc 4.6+ [2]
- Implement staging support

Obtained from:	3044a9053a [1]
		http://thread.gmane.org/gmane.comp.lib.boost.devel/228802 [2]
2013-09-23 20:08:30 +00:00

18 lines
453 B
C++

--- 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