SHA256
1
0
forked from pool/neovim
neovim/neovim-0.1.7-bitop.patch
Ronan Chagas 01192d2515 Accepting request 630074 from home:mcepl:work
- Add default system-wide configuration file to /etc/xdg/nvim/sysinit.vim (boo#1098800)
- Add proper location of the default SPEC file templates
- Add some packages needed for more robust builds
  * neovim.patch fix building system
  * neovim-0.1.7-bitop.patch for use external bit module
  * neovim-0.2.0-gcc-prototype.patch fix build issue on ppc64

OBS-URL: https://build.opensuse.org/request/show/630074
OBS-URL: https://build.opensuse.org/package/show/editors/neovim?expand=0&rev=35
2018-08-18 15:11:48 +00:00

20 lines
556 B
Diff

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -477,7 +477,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