aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2009-03-21 08:26:47 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2009-03-21 08:26:47 +0800
commit89038497f9778680daa3097519ee785395736652 (patch)
treecf093c3ecbfebf8776ead1478ea4624a8e3fa796 /devel
parent56cfd2abbabd04cefcb7040a5721e406a1668e2a (diff)
downloadfreebsd-ports-gnome-89038497f9778680daa3097519ee785395736652.tar.gz
freebsd-ports-gnome-89038497f9778680daa3097519ee785395736652.tar.zst
freebsd-ports-gnome-89038497f9778680daa3097519ee785395736652.zip
- Fix for upcoming boost 1.37.0
Diffstat (limited to 'devel')
-rw-r--r--devel/luabind/Makefile1
-rw-r--r--devel/luabind/files/patch-luabind-detail-policy.hpp12
2 files changed, 13 insertions, 0 deletions
diff --git a/devel/luabind/Makefile b/devel/luabind/Makefile
index cb8bff0014db..0774054143ec 100644
--- a/devel/luabind/Makefile
+++ b/devel/luabind/Makefile
@@ -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
diff --git a/devel/luabind/files/patch-luabind-detail-policy.hpp b/devel/luabind/files/patch-luabind-detail-policy.hpp
new file mode 100644
index 000000000000..92ce710bb738
--- /dev/null
+++ b/devel/luabind/files/patch-luabind-detail-policy.hpp
@@ -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>();