openbsd-ports/databases/luasqlite3/patches/patch-sqlite3_lua
2005-06-17 00:01:58 +00:00

16 lines
402 B
Plaintext

$OpenBSD: patch-sqlite3_lua,v 1.2 2005/06/17 00:01:58 jolan Exp $
--- sqlite3.lua.orig Wed Jun 15 16:33:54 2005
+++ sqlite3.lua Thu Jun 16 12:08:07 2005
@@ -44,9 +44,8 @@ TODO:
-require "libluasqlite3-loader"
-
-local api, ERR, TYPE, AUTH = load_libluasqlite3()
+local api, ERR, TYPE, AUTH =
+ assert(loadlib("luasqlite3.so", "luaopen_sqlite3"))()
local db_class = { }
local stmt_class = { }