eapi-bump librsvg
[sgilles-overlay.git] / www-client / elinks / files / elinks-0.11.2-lua-5.1.patch
blob20db8a484598533bc294a958f770d937fc4b238b
1 diff -Naurp elinks-0.11.2/src/scripting/lua/core.c elinks-0.11.2-lua/src/scripting/lua/core.c
2 --- elinks-0.11.2/src/scripting/lua/core.c 2006-11-19 14:46:37.000000000 +0100
3 +++ elinks-0.11.2-lua/src/scripting/lua/core.c 2007-03-10 15:34:47.000000000 +0100
4 @@ -646,11 +646,7 @@ init_lua(struct module *module)
6 L = lua_open();
8 - luaopen_base(L);
9 - luaopen_table(L);
10 - luaopen_io(L);
11 - luaopen_string(L);
12 - luaopen_math(L);
13 + luaL_openlibs(L);
15 lua_register(L, LUA_ALERT, l_alert);
16 lua_register(L, "current_url", l_current_url);