mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 22:52:59 -04:00
dev-util/lua-language-server: Fix building for 3.10.5
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
--- a/3rd/EmmyLuaCodeStyle/Util/include/Util/SymSpell/SymSpell.h
|
||||
+++ b/3rd/EmmyLuaCodeStyle/Util/include/Util/SymSpell/SymSpell.h
|
||||
@@ -29,6 +29,7 @@
|
||||
#include <unordered_map>
|
||||
#include <unordered_set>
|
||||
#include <vector>
|
||||
+#include <stdint.h>
|
||||
|
||||
class SymSpell {
|
||||
public:
|
||||
@@ -28,6 +28,7 @@ RESTRICT="!test? ( test )"
|
||||
PATCHES=(
|
||||
"${FILESDIR}/linux.ninja.patch"
|
||||
"${FILESDIR}/build.ninja.patch"
|
||||
"${FILESDIR}/${PN}-3.10.5-uint32_t-fix.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
@@ -60,6 +61,7 @@ src_compile() {
|
||||
build/build.ninja || die
|
||||
|
||||
eapply "${FILESDIR}/build.ninja.patch"
|
||||
eapply "${FILESDIR}/${PN}-3.10.5-uint32_t-fix.patch"
|
||||
sed -i -e "s/REPLACE_ME/$(tc-getCC)/" \
|
||||
-e "s/REPLACE_AR/$(tc-getAR)/" \
|
||||
-e "s|LUAMAKE_PATH|${S}/3rd/luamake/luamake|" \
|
||||
|
||||
Reference in New Issue
Block a user