commit:     545106ff82c8c0795c08656235b0e1c235848d09
Author:     Bharath Saiguhan <bharathsaiguhan <AT> protonmail <DOT> com>
AuthorDate: Sat Sep 10 12:44:03 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 11 18:13:23 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=545106ff

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 <bharathsaiguhan <AT> protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/27198
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-editors/neovim/files/neovim-9999-cmake-darwin.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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()

Reply via email to