Update neovim-0.1.7-bitop.patch
OBS-URL: https://build.opensuse.org/package/show/editors/neovim?expand=0&rev=87
This commit is contained in:
parent
7e7729f055
commit
8126ccef76
@ -1,10 +1,20 @@
|
|||||||
---
|
---
|
||||||
CMakeLists.txt | 2 +-
|
CMakeLists.txt | 4 ++--
|
||||||
src/nvim/ex_cmds.lua | 2 +-
|
src/nvim/ex_cmds.lua | 2 +-
|
||||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
src/nvim/generators/gen_ex_cmds.lua | 2 +-
|
||||||
|
3 files changed, 4 insertions(+), 4 deletions(-)
|
||||||
|
|
||||||
--- a/CMakeLists.txt
|
--- a/CMakeLists.txt
|
||||||
+++ b/CMakeLists.txt
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -413,7 +413,7 @@ endif()
|
||||||
|
option(PREFER_LUA "Prefer Lua over LuaJIT in the nvim executable." OFF)
|
||||||
|
|
||||||
|
if(PREFER_LUA)
|
||||||
|
- find_package(Lua 5.1 REQUIRED)
|
||||||
|
+ find_package(Lua 5.1 EXACT REQUIRED)
|
||||||
|
set(LUA_PREFERRED_INCLUDE_DIRS ${LUA_INCLUDE_DIR})
|
||||||
|
set(LUA_PREFERRED_LIBRARIES ${LUA_LIBRARIES})
|
||||||
|
# Passive (not REQUIRED): if LUAJIT_FOUND is not set, nvim-test is skipped.
|
||||||
@@ -517,7 +517,7 @@ endforeach()
|
@@ -517,7 +517,7 @@ endforeach()
|
||||||
|
|
||||||
# Find Lua interpreter
|
# Find Lua interpreter
|
||||||
@ -22,3 +32,14 @@
|
|||||||
|
|
||||||
local module = {}
|
local module = {}
|
||||||
|
|
||||||
|
--- a/src/nvim/generators/gen_ex_cmds.lua
|
||||||
|
+++ b/src/nvim/generators/gen_ex_cmds.lua
|
||||||
|
@@ -22,7 +22,7 @@ local defsfname = autodir .. '/ex_cmds_d
|
||||||
|
local enumfile = io.open(enumfname, 'w')
|
||||||
|
local defsfile = io.open(defsfname, 'w')
|
||||||
|
|
||||||
|
-local bit = require 'bit'
|
||||||
|
+local bit = require 'bit32'
|
||||||
|
local ex_cmds = require('ex_cmds')
|
||||||
|
local defs = ex_cmds.cmds
|
||||||
|
local flags = ex_cmds.flags
|
||||||
|
Loading…
Reference in New Issue
Block a user