]> git.pld-linux.org Git - packages/rpm.git/commitdiff
Enable posix module in lua
authorArtur Frysiak <artur@frysiak.net>
Wed, 3 Oct 2012 15:05:19 +0000 (17:05 +0200)
committerArtur Frysiak <artur@frysiak.net>
Wed, 3 Oct 2012 15:05:19 +0000 (17:05 +0200)
rpm-lua-enable-extra-libs.patch

index c238d0ab5b26216b8e8c0cca03772ad1d101ce0e..33f65240323134fad970a1a3d273a4832b145525 100644 (file)
@@ -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}
  };
  
This page took 0.039616 seconds and 4 git commands to generate.