summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-01-19 03:31:25 +0000
committerSam James <sam@gentoo.org>2021-01-19 03:31:25 +0000
commit7d236a315dd7fb66ed292f881cdc43d2a72de805 (patch)
tree86d7b0d1db1a7b33310c153cde8edadb106aa71d /app-editors/neovim/files
parentapp-arch/wimlib: bump to 1.13.3 (diff)
downloadgentoo-7d236a315dd7fb66ed292f881cdc43d2a72de805.tar.gz
gentoo-7d236a315dd7fb66ed292f881cdc43d2a72de805.tar.bz2
gentoo-7d236a315dd7fb66ed292f881cdc43d2a72de805.zip
app-editors/neovim: explicitly mark Gentoo build type as OK
No revbump because it's a minor change. Please re-install to pick it up if you're interested. This is completely cosmetic - the Gentoo build is already optimised and NOT debug, but this fixes the warning in :checkhealth. Closes: https://bugs.gentoo.org/757744 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-editors/neovim/files')
-rw-r--r--app-editors/neovim/files/neovim-0.4.4-cmake-release-type.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/app-editors/neovim/files/neovim-0.4.4-cmake-release-type.patch b/app-editors/neovim/files/neovim-0.4.4-cmake-release-type.patch
new file mode 100644
index 000000000000..2c9c80a7a690
--- /dev/null
+++ b/app-editors/neovim/files/neovim-0.4.4-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
+@@ -118,7 +118,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)