commit: 974e1883f6ad1d910a4778850a3378c327dadeec Author: Brahmajit Das <brahmajit.xyz <AT> gmail <DOT> com> AuthorDate: Tue Nov 21 06:20:57 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Nov 21 21:09:55 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=974e1883
app-editors/neovim: Rebase patch from upstream Closes: https://bugs.gentoo.org/917665 Signed-off-by: Brahmajit Das <brahmajit.xyz <AT> gmail.com> Closes: https://github.com/gentoo/gentoo/pull/33924 Signed-off-by: Sam James <sam <AT> gentoo.org> app-editors/neovim/files/neovim-9999-cmake-darwin.patch | 13 +++++++++++++ app-editors/neovim/neovim-9999.ebuild | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/app-editors/neovim/files/neovim-9999-cmake-darwin.patch b/app-editors/neovim/files/neovim-9999-cmake-darwin.patch new file mode 100644 index 000000000000..892d349b7e1c --- /dev/null +++ b/app-editors/neovim/files/neovim-9999-cmake-darwin.patch @@ -0,0 +1,13 @@ +--- a/src/nvim/CMakeLists.txt ++++ b/src/nvim/CMakeLists.txt +@@ -416,10 +416,6 @@ foreach(target ${targets}) + endforeach() + endforeach() + +-if(APPLE AND CMAKE_OSX_SYSROOT) +- list(APPEND gen_cflags "-isysroot") +- list(APPEND gen_cflags "${CMAKE_OSX_SYSROOT}") +-endif() + if(MSVC) + list(APPEND gen_cflags -wd4003) + endif() diff --git a/app-editors/neovim/neovim-9999.ebuild b/app-editors/neovim/neovim-9999.ebuild index 7af8db556a56..41b10f5d0a92 100644 --- a/app-editors/neovim/neovim-9999.ebuild +++ b/app-editors/neovim/neovim-9999.ebuild @@ -67,7 +67,7 @@ BDEPEND+=" PATCHES=( "${FILESDIR}/${PN}-0.9.0-cmake_lua_version.patch" - "${FILESDIR}/${PN}-0.9.1-cmake-darwin.patch" + "${FILESDIR}/${PN}-9999-cmake-darwin.patch" ) src_prepare() {
