mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-05 11:35:01 +00:00
- Fix for upcoming boost 1.37.0
This commit is contained in:
parent
082ce1d493
commit
f035a7ab04
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=230562
@ -32,6 +32,7 @@ PORTDOCS= *
|
||||
|
||||
post-patch:
|
||||
${MKDIR} ${WRKSRC}/lib
|
||||
@${FIND} ${WRKSRC}/luabind -name "*.orig" -delete
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/lib/libluabind.a ${PREFIX}/lib
|
||||
|
12
devel/luabind/files/patch-luabind-detail-policy.hpp
Normal file
12
devel/luabind/files/patch-luabind-detail-policy.hpp
Normal file
@ -0,0 +1,12 @@
|
||||
--- luabind/detail/policy.hpp.orig 2005-12-22 02:09:47.000000000 +0300
|
||||
+++ luabind/detail/policy.hpp 2009-03-20 18:52:45.000000000 +0300
|
||||
@@ -1276,7 +1276,8 @@
|
||||
|
||||
namespace luabind { namespace
|
||||
{
|
||||
-#if defined(__BORLANDC__) || (BOOST_VERSION >= 103400 && defined(__GNUC__))
|
||||
+#if defined(__GNUC__) && \
|
||||
+ (__GNUC__ * 100 + __GNUC_MINOR__ <= 400 || BOOST_VERSION <= 103401)
|
||||
static inline boost::arg<0> return_value()
|
||||
{
|
||||
return boost::arg<0>();
|
Loading…
x
Reference in New Issue
Block a user