Browse Source

luaposix: update to v35.0

Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
lilik-openwrt-22.03
Maxim Storchak 4 years ago
parent
commit
c3501bad23
3 changed files with 21 additions and 21 deletions
  1. +2
    -2
      lang/luaposix/Makefile
  2. +0
    -19
      lang/luaposix/patches/102-disable-compat-deprecated.diff
  3. +19
    -0
      lang/luaposix/patches/102-disable-compat-deprecated.patch

+ 2
- 2
lang/luaposix/Makefile View File

@ -6,12 +6,12 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=luaposix PKG_NAME:=luaposix
PKG_VERSION:=34.1.1
PKG_VERSION:=35.0
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE_URL:=https://codeload.github.com/$(PKG_NAME)/$(PKG_NAME)/tar.gz/v$(PKG_VERSION)? 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_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_HASH:=7948f4ac8b953172e928753632e37ad97cc3014df74b524fe7839f71216a7e90
PKG_HASH:=a4edf2f715feff65acb009e8d1689e57ec665eb79bc36a6649fae55eafd56809
PKG_MAINTAINER:=Maxim Storchak <m.storchak@gmail.com> PKG_MAINTAINER:=Maxim Storchak <m.storchak@gmail.com>
PKG_LICENSE:=MIT PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=COPYING PKG_LICENSE_FILES:=COPYING


+ 0
- 19
lang/luaposix/patches/102-disable-compat-deprecated.diff View File

@ -1,19 +0,0 @@
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

+ 19
- 0
lang/luaposix/patches/102-disable-compat-deprecated.patch View File

@ -0,0 +1,19 @@
diff --git a/lib/posix/init.lua b/lib/posix/init.lua
index cf51bf3..e66af04 100644
--- a/lib/posix/init.lua
+++ b/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

Loading…
Cancel
Save