aboutsummaryrefslogtreecommitdiff
path: root/lang/luaposix
diff options
context:
space:
mode:
authorMaxim Storchak <m.storchak@gmail.com>2023-05-27 15:54:17 +0300
committerRosen Penev <rosenp@gmail.com>2023-05-28 15:47:45 +0300
commit236e36c1983d912fe0772977496c99135fa18f7f (patch)
treecd91445d8a3d65e170878d1d239528aa10f8cc63 /lang/luaposix
parentf02f3ee8c768085eaf6225f6b25121e7efe07fde (diff)
luaposix: update to 36.1
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
Diffstat (limited to 'lang/luaposix')
-rw-r--r--lang/luaposix/Makefile4
-rw-r--r--lang/luaposix/patches/102-disable-compat-deprecated.patch14
-rw-r--r--lang/luaposix/patches/900-disable-ldoc.patch2
3 files changed, 10 insertions, 10 deletions
diff --git a/lang/luaposix/Makefile b/lang/luaposix/Makefile
index 2739f863f..636daaf69 100644
--- a/lang/luaposix/Makefile
+++ b/lang/luaposix/Makefile
@@ -6,12 +6,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=luaposix
-PKG_VERSION:=35.1
+PKG_VERSION:=36.1
PKG_RELEASE:=1
PKG_SOURCE_URL:=https://codeload.github.com/$(PKG_NAME)/$(PKG_NAME)/tar.gz/v$(PKG_VERSION)?
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_HASH:=1b5c48d2abd59de0738d1fc1e6204e44979ad2a1a26e8e22a2d6215dd502c797
+PKG_HASH:=e680ba9b9c7ae28c0598942cb00df7c7fbc70b82863bb55f028ea7dc101e39ac
PKG_MAINTAINER:=Maxim Storchak <m.storchak@gmail.com>
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=COPYING
diff --git a/lang/luaposix/patches/102-disable-compat-deprecated.patch b/lang/luaposix/patches/102-disable-compat-deprecated.patch
index 4cc99f6dc..efaa37ba4 100644
--- a/lang/luaposix/patches/102-disable-compat-deprecated.patch
+++ b/lang/luaposix/patches/102-disable-compat-deprecated.patch
@@ -1,17 +1,17 @@
--- a/lib/posix/init.lua
+++ b/lib/posix/init.lua
-@@ -325,14 +325,6 @@ do
- end
+@@ -437,14 +437,6 @@ do
end
end
--
+
- -- Inject deprecated APIs (overwriting submodules) for backwards compatibility.
- for k, v in next, (require 'posix.deprecated') do
-- M[k] = v
+- rawset(M, k, v)
- end
- for k, v in next, (require 'posix.compat') do
-- M[k] = v
+- rawset(M, k, v)
- end
- end
-
+-
+ --- Metamethods
+ -- @section metamethods
diff --git a/lang/luaposix/patches/900-disable-ldoc.patch b/lang/luaposix/patches/900-disable-ldoc.patch
index 95bf88630..85d2aaa71 100644
--- a/lang/luaposix/patches/900-disable-ldoc.patch
+++ b/lang/luaposix/patches/900-disable-ldoc.patch
@@ -1,6 +1,6 @@
--- a/lukefile
+++ b/lukefile
-@@ -29,8 +29,6 @@ incdirs = {
+@@ -35,8 +35,6 @@ incdirs = {
'$LUA_INCDIR',
}