blob: 6966ac34c9c9d86518904d8968983a002872a856 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
$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");
|