Date: Sat, 14 Sep 2013 01:16:26 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r327208 - head/games/enigma/files Message-ID: <201309140116.r8E1GQua017883@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Sat Sep 14 01:16:25 2013 New Revision: 327208 URL: http://svnweb.freebsd.org/changeset/ports/327208 Log: Fix build with clang/libc++ Added: head/games/enigma/files/patch-src-lua.cc (contents, props changed) Added: head/games/enigma/files/patch-src-lua.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/enigma/files/patch-src-lua.cc Sat Sep 14 01:16:25 2013 (r327208) @@ -0,0 +1,20 @@ +--- src/lua.cc.orig 2007-09-08 16:20:02.000000000 +0400 ++++ src/lua.cc 2013-09-14 02:32:22.905227099 +0400 +@@ -171,7 +171,7 @@ + if (lua_isnil(L,idx)) + return 0; + +- if (!is_object(L,idx)) { ++ if (!::is_object(L,idx)) { + throwLuaError(L, "Cannot convert type to an Object"); + return 0; + } +@@ -294,7 +294,7 @@ + + if (lua_isnil(L, 3)) + fl = 0; +- else if (is_object(L,3)) { ++ else if (::is_object(L,3)) { + fl = static_cast<Floor*>(*(static_cast<void**> (lua_touserdata(L,3)))); + if( ! fl) + throwLuaError(L, "object is no valid floor");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309140116.r8E1GQua017883>