From 236e36c1983d912fe0772977496c99135fa18f7f Mon Sep 17 00:00:00 2001 From: Maxim Storchak Date: Sat, 27 May 2023 15:54:17 +0300 Subject: [PATCH] luaposix: update to 36.1 Signed-off-by: Maxim Storchak --- lang/luaposix/Makefile | 4 ++-- .../patches/102-disable-compat-deprecated.patch | 14 +++++++------- lang/luaposix/patches/900-disable-ldoc.patch | 2 +- 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 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', }