[packages/rpm] Enable posix module in lua
wiget
wiget at pld-linux.org
Wed Oct 3 17:05:45 CEST 2012
commit 529a92053d5d02603e8091a2fbd8fad87d4a63c8
Author: Artur Frysiak <artur at frysiak.net>
Date: Wed Oct 3 17:05:19 2012 +0200
Enable posix module in lua
rpm-lua-enable-extra-libs.patch | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/rpm-lua-enable-extra-libs.patch b/rpm-lua-enable-extra-libs.patch
index c238d0a..33f6524 100644
--- a/rpm-lua-enable-extra-libs.patch
+++ b/rpm-lua-enable-extra-libs.patch
@@ -9,12 +9,13 @@
static const luaL_Reg lualibs[] = {
{"", luaopen_base},
-@@ -26,6 +26,8 @@
+@@ -26,6 +26,9 @@
{LUA_STRLIBNAME, luaopen_string},
{LUA_MATHLIBNAME, luaopen_math},
{LUA_DBLIBNAME, luaopen_debug},
+ {"rex_posix", luaopen_rex_posix},
+ {"rex_pcre", luaopen_rex_pcre},
++ {"posix", luaopen_posix},
{NULL, NULL}
};
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rpm.git/commitdiff/529a92053d5d02603e8091a2fbd8fad87d4a63c8
More information about the pld-cvs-commit
mailing list