svn commit: r384977 - head/devel/onscripter
Jan Beich
jbeich at FreeBSD.org
Wed Apr 29 13:53:27 UTC 2015
Author: jbeich
Date: Wed Apr 29 13:53:26 2015
New Revision: 384977
URL: https://svnweb.freebsd.org/changeset/ports/384977
Log:
devel/onscripter: unbreak build against lang/lua53
LUAHandler.cpp:207:15: error: use of undeclared identifier 'luaL_checkint'; did you
mean 'luaL_checkany'?
int no = luaL_checkint( state, 1 );
^~~~~~~~~~~~~
luaL_checkany
/usr/local/include/lua53/lauxlib.h:52:18: note: 'luaL_checkany' declared here
LUALIB_API void (luaL_checkany) (lua_State *L, int arg);
^
LUAHandler.cpp:207:9: error: cannot initialize a variable of type 'int' with an
rvalue of type 'void'
int no = luaL_checkint( state, 1 );
^ ~~~~~~~~~~~~~~~~~~~~~~~~~
Modified:
head/devel/onscripter/Makefile
Modified: head/devel/onscripter/Makefile
==============================================================================
--- head/devel/onscripter/Makefile Wed Apr 29 13:53:09 2015 (r384976)
+++ head/devel/onscripter/Makefile Wed Apr 29 13:53:26 2015 (r384977)
@@ -46,6 +46,8 @@ post-patch:
.endif
@${REINPLACE_CMD} -e 's/$$(LIBS)/$$(LDFLAGS) &/' \
${WRKSRC}/Makefile.onscripter
+ @${REINPLACE_CMD} -e 's/luaL_checkint/(int)&eger/' \
+ ${WRKSRC}/LUAHandler.cpp
.if !target(do-install)
do-install:
More information about the svn-ports-head
mailing list