diff options
Diffstat (limited to 'app-editors/neovim/files')
-rw-r--r-- | app-editors/neovim/files/neovim-0.4.4-cmake_lua_version.patch | 11 | ||||
-rw-r--r-- | app-editors/neovim/files/neovim-0.4.4-cmake_multiimpl_luv.patch | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/app-editors/neovim/files/neovim-0.4.4-cmake_lua_version.patch b/app-editors/neovim/files/neovim-0.4.4-cmake_lua_version.patch new file mode 100644 index 000000000000..4703dee52613 --- /dev/null +++ b/app-editors/neovim/files/neovim-0.4.4-cmake_lua_version.patch @@ -0,0 +1,11 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -384,7 +384,7 @@ + option(PREFER_LUA "Prefer Lua over LuaJIT in the nvim executable." OFF) + + if(PREFER_LUA) +- find_package(Lua 5.1 REQUIRED) ++ find_package(Lua ${PREFER_LUA} 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. diff --git a/app-editors/neovim/files/neovim-0.4.4-cmake_multiimpl_luv.patch b/app-editors/neovim/files/neovim-0.4.4-cmake_multiimpl_luv.patch new file mode 100644 index 000000000000..62c6a84eae13 --- /dev/null +++ b/app-editors/neovim/files/neovim-0.4.4-cmake_multiimpl_luv.patch @@ -0,0 +1,11 @@ +--- a/cmake/FindLibLUV.cmake ++++ b/cmake/FindLibLUV.cmake +@@ -6,7 +6,7 @@ + + find_package(PkgConfig) + if (PKG_CONFIG_FOUND) +- pkg_check_modules(PC_LIBLUV QUIET luv) ++ pkg_check_modules(PC_LIBLUV QUIET "libluv-${LUA_PRG}") + endif() + + set(LIBLUV_DEFINITIONS ${PC_LIBLUV_CFLAGS_OTHER}) |