diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-08-13 14:24:01 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-08-13 14:24:01 +0100 |
commit | b392cbf078526e18db5d54ec37f9580be480fd48 (patch) | |
tree | f2f8f60717bb0fbe3df7452c2e0b1e0c192341d1 /app-editors/neovim/files/neovim-9999-cmake-release-type.patch | |
parent | cd40bc9ab405aca4e72f869db79d9d1ff77d8313 (diff) |
gentoo auto-resync : 13:08:2022 - 14:24:01
Diffstat (limited to 'app-editors/neovim/files/neovim-9999-cmake-release-type.patch')
-rw-r--r-- | app-editors/neovim/files/neovim-9999-cmake-release-type.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app-editors/neovim/files/neovim-9999-cmake-release-type.patch b/app-editors/neovim/files/neovim-9999-cmake-release-type.patch new file mode 100644 index 000000000000..1d7fb56b51c8 --- /dev/null +++ b/app-editors/neovim/files/neovim-9999-cmake-release-type.patch @@ -0,0 +1,13 @@ +Ensure that :checkhealth is happy with the Gentoo build type. +https://bugs.gentoo.org/757744 +--- a/runtime/autoload/health/nvim.vim ++++ b/runtime/autoload/health/nvim.vim +@@ -135,7 +135,7 @@ function! s:check_performance() abort + let buildtype = matchstr(execute('version'), '\v\cbuild type:?\s*[^\n\r\t ]+') + if empty(buildtype) + call health#report_error('failed to get build type from :version') +- elseif buildtype =~# '\v(MinSizeRel|Release|RelWithDebInfo)' ++ elseif buildtype =~# '\v(MinSizeRel|Release|RelWithDebInfo|Gentoo)' + call health#report_ok(buildtype) + else + call health#report_info(buildtype) |