mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-editors/neovim: fix CMake patch for 0.8.0-r1
Fixes:bb9639a94bFixes:317d433897Closes: https://bugs.gentoo.org/879305 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
Ensure that :checkhealth is happy with the Gentoo build type.
|
||||
https://bugs.gentoo.org/757744
|
||||
--- a/runtime/lua/nvim/health.lua
|
||||
+++ b/runtime/lua/nvim/health.lua
|
||||
@@ -149,7 +149,7 @@ local function check_performance()
|
||||
let s:buildtype = matchstr(execute('version'), '\v\cbuild type:?\s*[^\n\r\t ]+')
|
||||
if empty(s:buildtype)
|
||||
call health#report_error('failed to get build type from :version')
|
||||
- elseif s:buildtype =~# '\v(MinSizeRel|Release|RelWithDebInfo)'
|
||||
+ elseif s:buildtype =~# '\v(MinSizeRel|Release|RelWithDebInfo|Gentoo)'
|
||||
call health#report_ok(s:buildtype)
|
||||
else
|
||||
call health#report_info(s:buildtype)
|
||||
--- 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)
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -137,12 +137,6 @@ else()
|
||||
@@ -73,13 +73,12 @@ PATCHES=()
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
PATCHES+=(
|
||||
"${FILESDIR}/${PN}-9999-cmake_lua_version.patch"
|
||||
"${FILESDIR}/${PN}-9999-cmake-release-type.patch"
|
||||
"${FILESDIR}/${PN}-9999-cmake-darwin.patch"
|
||||
)
|
||||
else
|
||||
PATCHES+=(
|
||||
"${FILESDIR}/${PN}-9999-cmake_lua_version.patch"
|
||||
"${FILESDIR}/${PN}-9999-cmake-release-type.patch"
|
||||
"${FILESDIR}/${PN}-0.8.0-cmake-release-type.patch"
|
||||
"${FILESDIR}/${PN}-9999-cmake-darwin.patch"
|
||||
)
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user