From 545106ff82c8c0795c08656235b0e1c235848d09 Mon Sep 17 00:00:00 2001 From: Bharath Saiguhan Date: Sat, 10 Sep 2022 18:14:03 +0530 Subject: app-editors/neovim: fix live ebuild patch file Upstream has changed its CMakeLists.txt file, replacing the deprecated variable CMAKE_COMPILER_IS_GNUCC, which causes the patch phase of the live ebuild to fail. This commit fixes this issue and with this in place, patching succeeds. Signed-off-by: Bharath Saiguhan Closes: https://github.com/gentoo/gentoo/pull/27198 Signed-off-by: Sam James --- app-editors/neovim/files/neovim-9999-cmake-darwin.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app-editors/neovim') diff --git a/app-editors/neovim/files/neovim-9999-cmake-darwin.patch b/app-editors/neovim/files/neovim-9999-cmake-darwin.patch index cf3e05716625..571de0813ca6 100644 --- a/app-editors/neovim/files/neovim-9999-cmake-darwin.patch +++ b/app-editors/neovim/files/neovim-9999-cmake-darwin.patch @@ -26,7 +26,7 @@ - # Work around some old, broken detection by CMake for knowing when to use the - # isystem flag. Apple's compilers have supported this for quite some time - # now. -- if(CMAKE_COMPILER_IS_GNUCC) +- if(CMAKE_C_COMPILER_ID_MATCHES "GNU") - set(CMAKE_INCLUDE_SYSTEM_FLAG_C "-isystem ") - endif() -endif() -- cgit v1.2.3-65-gdbad