- Fix a bug with some features - Remove lib/liblua-compat-5.1.a and lib/liblua-compat-5.1_p.a as they are no longer needed PR: 96068 Submitted by: Andrew Turner <andrew+ports@fubar.geek.nz> (maintainer)
10 lines
272 B
Text
10 lines
272 B
Text
--- compat-5.1.lua.orig Fri Apr 14 19:13:01 2006
|
|
+++ compat-5.1.lua Fri Apr 14 19:14:21 2006
|
|
@@ -260,6 +260,7 @@
|
|
ns._M = ns
|
|
ns._PACKAGE = gsub (modname, "[^.]*$", "")
|
|
end
|
|
+ setmetatable(ns, {__index = _G})
|
|
setfenv (2, ns)
|
|
for i, f in ipairs (arg) do
|
|
f (ns)
|