SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
15
databases/luasqlite3/patches/patch-luasql-sqlite3_lua
Normal file
15
databases/luasqlite3/patches/patch-luasql-sqlite3_lua
Normal file
|
@ -0,0 +1,15 @@
|
|||
--- luasql-sqlite3.lua.orig Thu Jun 2 15:43:29 2005
|
||||
+++ luasql-sqlite3.lua Sat Jul 29 17:46:49 2006
|
||||
@@ -57,8 +57,11 @@ local function isref(t) return t.ref_co
|
||||
|
||||
|
||||
function luasql.sqlite3()
|
||||
+ local f = assert(package.loadlib("./libluasqlite3.so",
|
||||
+ "luaopen_sqlite3_core"))
|
||||
+ f = f()
|
||||
if not api then
|
||||
- api, ERR, TYPE, AUTH = load_libluasqlite3()
|
||||
+ api, ERR, TYPE, AUTH = f.init()
|
||||
end
|
||||
|
||||
local env = setmetatable( {}, env_class_mt )
|
Loading…
Add table
Add a link
Reference in a new issue