mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
luaposix: update to v34.1.1
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
This commit is contained in:
@@ -1,32 +0,0 @@
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index dfd4199..19924d0 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -153,15 +153,6 @@ AC_CHECK_LIB([rt], [clock_gettime])
|
||||
AC_SUBST([LIBRT], [$LIBS])
|
||||
LIBS=$save_LIBS
|
||||
|
||||
-## Curses
|
||||
-AX_WITH_CURSES
|
||||
-AC_ARG_VAR(CURSES_LIB, [linker flags for curses library])
|
||||
-
|
||||
-save_LIBS=$LIBS
|
||||
-LIBS="$CURSES_LIB $LIBS"
|
||||
-AC_CHECK_FUNCS([resizeterm])
|
||||
-LIBS=$save_LIBS
|
||||
-
|
||||
## Use system implementation, or bundled replacement?
|
||||
AC_CHECK_FUNCS([strlcpy])
|
||||
|
||||
diff --git a/ext/posix/posix.c b/ext/posix/posix.c
|
||||
index 6019df0..2d75487 100644
|
||||
--- a/ext/posix/posix.c
|
||||
+++ b/ext/posix/posix.c
|
||||
@@ -12,7 +12,6 @@
|
||||
|
||||
#include "bit32.c"
|
||||
#include "ctype.c"
|
||||
-#include "curses.c"
|
||||
#include "dirent.c"
|
||||
#include "errno.c"
|
||||
#include "fcntl.c"
|
||||
@@ -1,20 +1,19 @@
|
||||
diff --git a/lib/posix.lua.in b/lib/posix.lua.in
|
||||
index 17ef39a..a248d9b 100644
|
||||
--- a/lib/posix.lua.in
|
||||
+++ b/lib/posix.lua.in
|
||||
@@ -35,15 +35,6 @@ for _, sub in ipairs {
|
||||
end
|
||||
diff --git i/lib/posix/init.lua w/lib/posix/init.lua
|
||||
index c17693a..d4db923 100644
|
||||
--- i/lib/posix/init.lua
|
||||
+++ w/lib/posix/init.lua
|
||||
@@ -325,14 +325,6 @@ do
|
||||
end
|
||||
end
|
||||
end
|
||||
-
|
||||
- -- Inject deprecated APIs (overwriting submodules) for backwards compatibility.
|
||||
- for k, v in next, require 'posix.deprecated' do
|
||||
- M[k] = v
|
||||
- end
|
||||
- for k, v in next, require 'posix.compat' do
|
||||
- M[k] = v
|
||||
- end
|
||||
end
|
||||
|
||||
-
|
||||
--- Inject deprecated APIs (overwriting submodules) for backwards compatibility.
|
||||
-for k, v in pairs (require "posix.deprecated") do
|
||||
- M[k] = v
|
||||
-end
|
||||
-for k, v in pairs (require "posix.compat") do
|
||||
- M[k] = v
|
||||
-end
|
||||
-
|
||||
M.version = "posix for " .. _VERSION .. " / @PACKAGE_STRING@"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user