Date: Sun, 4 Oct 2015 00:42:56 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r398559 - in head/devel/luabind: . files Message-ID: <201510040042.t940guPj004631@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Sun Oct 4 00:42:55 2015 New Revision: 398559 URL: https://svnweb.freebsd.org/changeset/ports/398559 Log: devel/luabind: unbreak -DNDEBUG on 10+ systems Added: head/devel/luabind/files/patch-luabind_detail_object__rep.hpp (contents, props changed) Modified: head/devel/luabind/Makefile (contents, props changed) Modified: head/devel/luabind/Makefile ============================================================================== --- head/devel/luabind/Makefile Sat Oct 3 22:17:15 2015 (r398558) +++ head/devel/luabind/Makefile Sun Oct 4 00:42:55 2015 (r398559) @@ -3,7 +3,7 @@ PORTNAME= luabind PORTVERSION= 0.9.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel MASTER_SITES= SF Added: head/devel/luabind/files/patch-luabind_detail_object__rep.hpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/luabind/files/patch-luabind_detail_object__rep.hpp Sun Oct 4 00:42:55 2015 (r398559) @@ -0,0 +1,21 @@ +In file included from luabind/detail/policy.hpp:51:0, + from luabind/detail/convert_to_lua.hpp:28, + from luabind/detail/call_member.hpp:30, + from luabind/wrapper_base.hpp:31, + from luabind/back_reference.hpp:27, + from luabind/class.hpp:93, + from luabind/luabind.hpp:28, +luabind/detail/object_rep.hpp: In member function 'void* luabind::detail::object_rep::allocate(size_t)': +luabind/detail/object_rep.hpp:77:11: error: 'malloc' is not a member of 'std' + return std::malloc(size); + ^ +--- luabind/detail/object_rep.hpp.orig 2010-08-31 13:24:52 UTC ++++ luabind/detail/object_rep.hpp +@@ -24,6 +24,7 @@ + #ifndef LUABIND_OBJECT_REP_HPP_INCLUDED + #define LUABIND_OBJECT_REP_HPP_INCLUDED + ++#include <cstdlib> // for -DNDEBUG with libc++ + #include <boost/aligned_storage.hpp> + #include <luabind/config.hpp> + #include <luabind/detail/instance_holder.hpp>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510040042.t940guPj004631>