Browse Source

Merge pull request #12935 from mstorchak/luaposix

luaposix: update to v35.0
lilik-openwrt-22.03
Rosen Penev 4 years ago
committed by GitHub
parent
commit
3558107b5a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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