app-editors/neovim: Rebase patch from upstream

Closes: https://bugs.gentoo.org/917665
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/34185
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Brahmajit Das
2023-12-28 04:46:20 +00:00
committed by Sam James
parent c2ed8854b6
commit 651728e2b1
@@ -1,12 +1,12 @@
Patch author: mortezadadgar <mortezadadgar97@gmail.com>
--- a/src/nvim/CMakeLists.txt
+++ b/src/nvim/CMakeLists.txt
@@ -416,10 +416,6 @@ foreach(target ${targets})
@@ -477,9 +477,6 @@ foreach(target ${targets})
endforeach()
endforeach()
-if(APPLE AND CMAKE_OSX_SYSROOT)
- list(APPEND gen_cflags "-isysroot")
- list(APPEND gen_cflags "${CMAKE_OSX_SYSROOT}")
- list(APPEND gen_cflags "-isysroot" "${CMAKE_OSX_SYSROOT}")
-endif()
if(MSVC)
list(APPEND gen_cflags -wd4003)