[MacPorts] #46621: Update: lua 5.3.0
MacPorts
noreply at macports.org
Tue Sep 15 10:11:12 PDT 2015
#46621: Update: lua 5.3.0
-----------------------------+--------------------------------
Reporter: mschamschula@… | Owner: macports-tickets@…
Type: update | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: haspatch
Port: lua |
-----------------------------+--------------------------------
Comment (by mojca@…):
Just an additional note, here's how I did a quick fix for gnuplot:
{{{
#!diff
@@ -251,7 +251,7 @@ LUA_GP_int_error(lua_State *L) {
msg = luaL_checkstring(L, 1);
break;
case 2:
- t_num = luaL_checkint(L, 1);
+ t_num = luaL_checkinteger(L, 1);
msg = luaL_checkstring(L, 2);
break;
default:
@@ -285,7 +285,7 @@ LUA_GP_int_warn(lua_State *L) {
msg = luaL_checkstring(L, 1);
break;
case 2:
- t_num = luaL_checkint(L, 1);
+ t_num = luaL_checkinteger(L, 1);
msg = luaL_checkstring(L, 2);
break;
default:
}}}
--
Ticket URL: <https://trac.macports.org/ticket/46621#comment:13>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list