* [PR PATCH] lua-language-server: update to 3.6.24.
@ 2023-07-24 18:18 icp1994
2023-07-24 18:37 ` [PR PATCH] [Updated] " icp1994
2023-07-25 1:27 ` [PR PATCH] [Merged]: " Piraty
0 siblings, 2 replies; 3+ messages in thread
From: icp1994 @ 2023-07-24 18:18 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 497 bytes --]
There is a new pull request by icp1994 against master on the void-packages repository
https://github.com/icp1994/void-packages lua-language-server
https://github.com/void-linux/void-packages/pull/45228
lua-language-server: update to 3.6.24.
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for my native architecture: **x86_64**
A patch file from https://github.com/void-linux/void-packages/pull/45228.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-lua-language-server-45228.patch --]
[-- Type: text/x-diff, Size: 3667 bytes --]
From e8e241e5748ef49e2188592e488eef7276fd95c7 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 22 Jul 2023 12:39:31 +0530
Subject: [PATCH] lua-language-server: update to 3.6.24.
---
.../patches/fix-stupid-broken-tests.patch | 30 +++++++++++--------
srcpkgs/lua-language-server/template | 4 +--
2 files changed, 20 insertions(+), 14 deletions(-)
diff --git a/srcpkgs/lua-language-server/patches/fix-stupid-broken-tests.patch b/srcpkgs/lua-language-server/patches/fix-stupid-broken-tests.patch
index 04447cb981ef6..1ead008303f96 100644
--- a/srcpkgs/lua-language-server/patches/fix-stupid-broken-tests.patch
+++ b/srcpkgs/lua-language-server/patches/fix-stupid-broken-tests.patch
@@ -12,16 +12,18 @@ diff --git a/3rd/bee.lua/test/test_lua.lua b/3rd/bee.lua/test/test_lua.lua
index 5b85af7..cf653c0 100644
--- a/3rd/bee.lua/test/test_lua.lua
+++ b/3rd/bee.lua/test/test_lua.lua
-@@ -21,19 +21,4 @@ function test_lua:test_stack_overflow_2()
+@@ -21,21 +21,3 @@
+ print(t[1])
+ end)
end
-
- function test_lua:test_next()
+-
+-function test_lua:test_next()
- local t = {}
- for i = 1, 26 do
-- t[string.char(0x40+i)] = true
+- t[string.char(0x40 + i)] = true
- end
- local expected = {
-- 'Z', 'Y', 'V', 'U', 'X', 'W', 'R', 'Q', 'T', 'S', 'N', 'M', 'P', 'O', 'J', 'I', 'L', 'K', 'F', 'E', 'H', 'G', 'B', 'A', 'D', 'C'
+- "Z", "Y", "V", "U", "X", "W", "R", "Q", "T", "S", "N", "M", "P", "O", "J", "I", "L", "K", "F", "E", "H", "G", "B", "A", "D", "C"
- }
- local function checkOK()
- local key
@@ -31,21 +33,24 @@ index 5b85af7..cf653c0 100644
- end
- end
- checkOK()
- end
+-end
+
diff --git a/3rd/luamake/bee.lua/test/test_lua.lua b/3rd/luamake/bee.lua/test/test_lua.lua
index 5b85af7..cf653c0 100644
--- a/3rd/luamake/bee.lua/test/test_lua.lua
+++ b/3rd/luamake/bee.lua/test/test_lua.lua
-@@ -21,19 +21,4 @@ function test_lua:test_stack_overflow_2()
+@@ -21,21 +21,3 @@
+ print(t[1])
+ end)
end
-
- function test_lua:test_next()
+-
+-function test_lua:test_next()
- local t = {}
- for i = 1, 26 do
-- t[string.char(0x40+i)] = true
+- t[string.char(0x40 + i)] = true
- end
- local expected = {
-- 'Z', 'Y', 'V', 'U', 'X', 'W', 'R', 'Q', 'T', 'S', 'N', 'M', 'P', 'O', 'J', 'I', 'L', 'K', 'F', 'E', 'H', 'G', 'B', 'A', 'D', 'C'
+- "Z", "Y", "V", "U", "X", "W", "R", "Q", "T", "S", "N", "M", "P", "O", "J", "I", "L", "K", "F", "E", "H", "G", "B", "A", "D", "C"
- }
- local function checkOK()
- local key
@@ -55,4 +60,5 @@ index 5b85af7..cf653c0 100644
- end
- end
- checkOK()
- end
+-end
+
diff --git a/srcpkgs/lua-language-server/template b/srcpkgs/lua-language-server/template
index 1b1d577ebefc4..c2afb9805e528 100644
--- a/srcpkgs/lua-language-server/template
+++ b/srcpkgs/lua-language-server/template
@@ -1,6 +1,6 @@
# Template file for 'lua-language-server'
pkgname=lua-language-server
-version=3.6.23
+version=3.6.24
revision=1
hostmakedepends="ninja"
short_desc="Lua LSP implementation written in Lua"
@@ -9,7 +9,7 @@ license="MIT"
homepage="https://github.com/LuaLS/lua-language-server"
changelog="https://raw.githubusercontent.com/LuaLS/lua-language-server/master/changelog.md"
distfiles="https://github.com/LuaLS/lua-language-server/releases/download/${version}/lua-language-server-${version}-submodules.zip"
-checksum=039de8c34b8d9db0bc350e19391e4e437b362b7d2016fde9bc3ff3588e6787cb
+checksum=c85ec17eab50007a367656e84b1ad0de517dd14b397c83b252e2e1b9acee05b4
do_build() {
ninja -C 3rd/luamake -f compile/ninja/linux.ninja
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PR PATCH] [Updated] lua-language-server: update to 3.6.24.
2023-07-24 18:18 [PR PATCH] lua-language-server: update to 3.6.24 icp1994
@ 2023-07-24 18:37 ` icp1994
2023-07-25 1:27 ` [PR PATCH] [Merged]: " Piraty
1 sibling, 0 replies; 3+ messages in thread
From: icp1994 @ 2023-07-24 18:37 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 502 bytes --]
There is an updated pull request by icp1994 against master on the void-packages repository
https://github.com/icp1994/void-packages lua-language-server
https://github.com/void-linux/void-packages/pull/45228
lua-language-server: update to 3.6.24.
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for my native architecture: **x86_64**
A patch file from https://github.com/void-linux/void-packages/pull/45228.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-lua-language-server-45228.patch --]
[-- Type: text/x-diff, Size: 4650 bytes --]
From 54ab1e044cd625af74634eae4796b9607b76e9b3 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 22 Jul 2023 12:39:31 +0530
Subject: [PATCH] lua-language-server: update to 3.6.24.
---
.../patches/fix-musl.patch | 22 ++++++++++++++
.../patches/fix-stupid-broken-tests.patch | 30 +++++++++++--------
srcpkgs/lua-language-server/template | 4 +--
3 files changed, 42 insertions(+), 14 deletions(-)
create mode 100644 srcpkgs/lua-language-server/patches/fix-musl.patch
diff --git a/srcpkgs/lua-language-server/patches/fix-musl.patch b/srcpkgs/lua-language-server/patches/fix-musl.patch
new file mode 100644
index 0000000000000..a024862aaa4bb
--- /dev/null
+++ b/srcpkgs/lua-language-server/patches/fix-musl.patch
@@ -0,0 +1,22 @@
+--- a/3rd/bee.lua/bee/net/endpoint.cpp
++++ b/3rd/bee.lua/bee/net/endpoint.cpp
+@@ -17,6 +17,7 @@
+
+ #include <array>
+ #include <limits>
++#include <cstring>
+
+ // see the https://blogs.msdn.microsoft.com/commandline/2017/12/19/af_unix-comes-to-windows/
+ #if defined(_WIN32)
+
+--- a/3rd/luamake/bee.lua/bee/net/endpoint.cpp
++++ b/3rd/luamake/bee.lua/bee/net/endpoint.cpp
+@@ -17,6 +17,7 @@
+
+ #include <array>
+ #include <limits>
++#include <cstring>
+
+ // see the https://blogs.msdn.microsoft.com/commandline/2017/12/19/af_unix-comes-to-windows/
+ #if defined(_WIN32)
+
diff --git a/srcpkgs/lua-language-server/patches/fix-stupid-broken-tests.patch b/srcpkgs/lua-language-server/patches/fix-stupid-broken-tests.patch
index 04447cb981ef6..1ead008303f96 100644
--- a/srcpkgs/lua-language-server/patches/fix-stupid-broken-tests.patch
+++ b/srcpkgs/lua-language-server/patches/fix-stupid-broken-tests.patch
@@ -12,16 +12,18 @@ diff --git a/3rd/bee.lua/test/test_lua.lua b/3rd/bee.lua/test/test_lua.lua
index 5b85af7..cf653c0 100644
--- a/3rd/bee.lua/test/test_lua.lua
+++ b/3rd/bee.lua/test/test_lua.lua
-@@ -21,19 +21,4 @@ function test_lua:test_stack_overflow_2()
+@@ -21,21 +21,3 @@
+ print(t[1])
+ end)
end
-
- function test_lua:test_next()
+-
+-function test_lua:test_next()
- local t = {}
- for i = 1, 26 do
-- t[string.char(0x40+i)] = true
+- t[string.char(0x40 + i)] = true
- end
- local expected = {
-- 'Z', 'Y', 'V', 'U', 'X', 'W', 'R', 'Q', 'T', 'S', 'N', 'M', 'P', 'O', 'J', 'I', 'L', 'K', 'F', 'E', 'H', 'G', 'B', 'A', 'D', 'C'
+- "Z", "Y", "V", "U", "X", "W", "R", "Q", "T", "S", "N", "M", "P", "O", "J", "I", "L", "K", "F", "E", "H", "G", "B", "A", "D", "C"
- }
- local function checkOK()
- local key
@@ -31,21 +33,24 @@ index 5b85af7..cf653c0 100644
- end
- end
- checkOK()
- end
+-end
+
diff --git a/3rd/luamake/bee.lua/test/test_lua.lua b/3rd/luamake/bee.lua/test/test_lua.lua
index 5b85af7..cf653c0 100644
--- a/3rd/luamake/bee.lua/test/test_lua.lua
+++ b/3rd/luamake/bee.lua/test/test_lua.lua
-@@ -21,19 +21,4 @@ function test_lua:test_stack_overflow_2()
+@@ -21,21 +21,3 @@
+ print(t[1])
+ end)
end
-
- function test_lua:test_next()
+-
+-function test_lua:test_next()
- local t = {}
- for i = 1, 26 do
-- t[string.char(0x40+i)] = true
+- t[string.char(0x40 + i)] = true
- end
- local expected = {
-- 'Z', 'Y', 'V', 'U', 'X', 'W', 'R', 'Q', 'T', 'S', 'N', 'M', 'P', 'O', 'J', 'I', 'L', 'K', 'F', 'E', 'H', 'G', 'B', 'A', 'D', 'C'
+- "Z", "Y", "V", "U", "X", "W", "R", "Q", "T", "S", "N", "M", "P", "O", "J", "I", "L", "K", "F", "E", "H", "G", "B", "A", "D", "C"
- }
- local function checkOK()
- local key
@@ -55,4 +60,5 @@ index 5b85af7..cf653c0 100644
- end
- end
- checkOK()
- end
+-end
+
diff --git a/srcpkgs/lua-language-server/template b/srcpkgs/lua-language-server/template
index 1b1d577ebefc4..c2afb9805e528 100644
--- a/srcpkgs/lua-language-server/template
+++ b/srcpkgs/lua-language-server/template
@@ -1,6 +1,6 @@
# Template file for 'lua-language-server'
pkgname=lua-language-server
-version=3.6.23
+version=3.6.24
revision=1
hostmakedepends="ninja"
short_desc="Lua LSP implementation written in Lua"
@@ -9,7 +9,7 @@ license="MIT"
homepage="https://github.com/LuaLS/lua-language-server"
changelog="https://raw.githubusercontent.com/LuaLS/lua-language-server/master/changelog.md"
distfiles="https://github.com/LuaLS/lua-language-server/releases/download/${version}/lua-language-server-${version}-submodules.zip"
-checksum=039de8c34b8d9db0bc350e19391e4e437b362b7d2016fde9bc3ff3588e6787cb
+checksum=c85ec17eab50007a367656e84b1ad0de517dd14b397c83b252e2e1b9acee05b4
do_build() {
ninja -C 3rd/luamake -f compile/ninja/linux.ninja
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PR PATCH] [Merged]: lua-language-server: update to 3.6.24.
2023-07-24 18:18 [PR PATCH] lua-language-server: update to 3.6.24 icp1994
2023-07-24 18:37 ` [PR PATCH] [Updated] " icp1994
@ 2023-07-25 1:27 ` Piraty
1 sibling, 0 replies; 3+ messages in thread
From: Piraty @ 2023-07-25 1:27 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 334 bytes --]
There's a merged pull request on the void-packages repository
lua-language-server: update to 3.6.24.
https://github.com/void-linux/void-packages/pull/45228
Description:
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for my native architecture: **x86_64**
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-07-25 1:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-24 18:18 [PR PATCH] lua-language-server: update to 3.6.24 icp1994
2023-07-24 18:37 ` [PR PATCH] [Updated] " icp1994
2023-07-25 1:27 ` [PR PATCH] [Merged]: " Piraty
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).