neovim/neovim-0.1.7-bitop.patch
Martin Liška b1acd58587 Accepting request 731913 from home:mcepl:branches:editors
- Update to version 0.4.2. There is toooooo many changes to list
  it there. Also fixes boo#1151203.
- Reapplied patches:
  - neovim-0.1.7-bitop.patch
  - neovim-0.2.0-gcc-prototype.patch
  - neovim.patch

- Remove neovim-0.2.0-gcc-prototype.patch patch.
- Add run-time dependency to lua51-luv.

OBS-URL: https://build.opensuse.org/request/show/731913
OBS-URL: https://build.opensuse.org/package/show/editors/neovim?expand=0&rev=61
2019-09-19 10:28:38 +00:00

20 lines
556 B
Diff

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -483,7 +483,7 @@ endforeach()
# Find Lua interpreter
include(LuaHelpers)
-set(LUA_DEPENDENCIES lpeg mpack bit)
+set(LUA_DEPENDENCIES lpeg mpack bit32)
if(NOT LUA_PRG)
foreach(CURRENT_LUA_PRG luajit lua5.1 lua5.2 lua)
# If LUA_PRG is set find_program() will not search
--- a/src/nvim/ex_cmds.lua
+++ b/src/nvim/ex_cmds.lua
@@ -1,4 +1,4 @@
-local bit = require 'bit'
+local bit = require 'bit32'
-- Description of the values below is contained in ex_cmds_defs.h file.
local RANGE = 0x001