diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2015-04-29 13:53:26 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2015-04-29 13:53:26 +0000 |
commit | 75e129eb678bbbb18714ffb57af493cd46d387c0 (patch) | |
tree | cbf349551bab80ed2575e282c2af7dfabe801879 | |
parent | science/psychopy: update to 1.82.01 and overhaul (diff) |
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 );
^ ~~~~~~~~~~~~~~~~~~~~~~~~~
Notes
Notes:
svn path=/head/; revision=384977
-rw-r--r-- | devel/onscripter/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/devel/onscripter/Makefile b/devel/onscripter/Makefile index ea6b56c8f654..32fb5b981b1b 100644 --- a/devel/onscripter/Makefile +++ b/devel/onscripter/Makefile @@ -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: |