summaryrefslogtreecommitdiff
path: root/pcr/luabind/luabind_boost.patch
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-01-02 10:58:51 -0200
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-01-02 10:58:51 -0200
commit593a1335dd0bb92ac9f1e2a7a2ca12b3b3f06cd5 (patch)
tree843318780ef5144fbb0dee3ab9fa3803a93e74af /pcr/luabind/luabind_boost.patch
parentbc8cb28521bc78536ba1cdec53c798fbc478a75a (diff)
downloadabslibre-593a1335dd0bb92ac9f1e2a7a2ca12b3b3f06cd5.tar.gz
abslibre-593a1335dd0bb92ac9f1e2a7a2ca12b3b3f06cd5.tar.bz2
abslibre-593a1335dd0bb92ac9f1e2a7a2ca12b3b3f06cd5.zip
luabind: add pkg to repo pcr
Diffstat (limited to 'pcr/luabind/luabind_boost.patch')
-rw-r--r--pcr/luabind/luabind_boost.patch59
1 files changed, 59 insertions, 0 deletions
diff --git a/pcr/luabind/luabind_boost.patch b/pcr/luabind/luabind_boost.patch
new file mode 100644
index 000000000..92e32828a
--- /dev/null
+++ b/pcr/luabind/luabind_boost.patch
@@ -0,0 +1,59 @@
+diff --git luabind-0.9.1/luabind/detail/call_function.hpp luabind-0.9.1-fixed/luabind/detail/call_function.hpp
+index 1b45ec1..8f5afff 100644
+--- luabind-0.9.1/luabind/detail/call_function.hpp
++++ luabind-0.9.1-fixed/luabind/detail/call_function.hpp
+@@ -323,7 +323,8 @@ namespace luabind
+
+ #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 @@ namespace luabind
+
+
+ #endif
++#endif
+
+diff --git luabind-0.9.1/luabind/detail/call_member.hpp luabind-0.9.1-fixed/luabind/detail/call_member.hpp
+index de8d563..e63555b 100644
+--- luabind-0.9.1/luabind/detail/call_member.hpp
++++ luabind-0.9.1-fixed/luabind/detail/call_member.hpp
+@@ -316,7 +316,8 @@ namespace luabind
+
+ #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 @@ namespace luabind
+ #undef LUABIND_TUPLE_PARAMS
+
+ #endif
++#endif
+
+diff --git luabind-0.9.1/luabind/wrapper_base.hpp luabind-0.9.1-fixed/luabind/wrapper_base.hpp
+index d54c668..0f88cc5 100755
+--- luabind-0.9.1/luabind/wrapper_base.hpp
++++ luabind-0.9.1-fixed/luabind/wrapper_base.hpp
+@@ -89,7 +89,8 @@ namespace luabind
+
+ #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 @@ namespace luabind
+ #undef N
+
+ #endif
++#endif