pkgsrc/wm/ion/patches/patch-ac

23 lines
585 B
Text

$NetBSD: patch-ac,v 1.3 2006/08/14 22:40:53 wiz Exp $
--- luaextl/luaextl.c.orig 2004-02-19 19:43:32.000000000 +0000
+++ luaextl/luaextl.c
@@ -509,13 +509,17 @@ bool extl_init()
warn("Unable to initialize Lua.\n");
return FALSE;
}
+#if 0
luaopen_base(l_st);
luaopen_table(l_st);
luaopen_io(l_st);
luaopen_string(l_st);
luaopen_math(l_st);
- luaopen_loadlib(l_st);
+ luaopen_package(l_st);
+#else
+ luaL_openlibs(l_st);
+#endif
if(!extl_init_obj_info(l_st)){
warn("Failed to initialize WObj metatable\n");