1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00

- Fix build with boost 1.60

See fb3c6623c7
This commit is contained in:
Dmitry Marakasov 2016-01-18 22:15:26 +00:00
parent 1ab792423a
commit e436404d5e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=406614
4 changed files with 65 additions and 0 deletions

View File

@ -0,0 +1,18 @@
--- luabind/object.hpp.orig 2010-08-31 13:24:52 UTC
+++ luabind/object.hpp
@@ -536,6 +536,7 @@ namespace detail
handle m_key;
};
+#if BOOST_VERSION < 105700
// Needed because of some strange ADL issues.
#define LUABIND_OPERATOR_ADL_WKND(op) \
@@ -557,6 +558,7 @@ namespace detail
LUABIND_OPERATOR_ADL_WKND(!=)
#undef LUABIND_OPERATOR_ADL_WKND
+#endif
} // namespace detail

View File

@ -0,0 +1,18 @@
--- src/luabind/luabind/object.hpp.orig 2010-01-03 23:08:15 UTC
+++ src/luabind/luabind/object.hpp
@@ -536,6 +536,7 @@ namespace detail
handle m_key;
};
+#if BOOST_VERSION < 105700
// Needed because of some strange ADL issues.
#define LUABIND_OPERATOR_ADL_WKND(op) \
@@ -557,6 +558,7 @@ namespace detail
LUABIND_OPERATOR_ADL_WKND(!=)
#undef LUABIND_OPERATOR_ADL_WKND
+#endif
} // namespace detail

View File

@ -0,0 +1,11 @@
--- src/luabind/luabind/detail/object_rep.hpp.orig 2013-09-24 11:33:12 UTC
+++ src/luabind/luabind/detail/object_rep.hpp
@@ -29,6 +29,8 @@
#include <luabind/detail/instance_holder.hpp>
#include <luabind/detail/ref.hpp>
+#include <cstdlib>
+
namespace luabind { namespace detail
{
class class_rep;

View File

@ -0,0 +1,18 @@
--- src/luabind/luabind/object.hpp.orig 2013-09-24 11:33:12 UTC
+++ src/luabind/luabind/object.hpp
@@ -546,6 +546,7 @@ namespace detail
handle m_key;
};
+#if BOOST_VERSION < 105700
// Needed because of some strange ADL issues.
#define LUABIND_OPERATOR_ADL_WKND(op) \
@@ -567,6 +568,7 @@ namespace detail
LUABIND_OPERATOR_ADL_WKND(!=)
#undef LUABIND_OPERATOR_ADL_WKND
+#endif
} // namespace detail