commit: 1ca7a6c04121740ea28ea2325ba222a8807b34d8 Author: Robert Günzler <r <AT> gnzler <DOT> io> AuthorDate: Sun Apr 23 18:03:08 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Apr 29 06:44:18 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ca7a6c0
app-editors/neovim: fix darwin patch for unstable Signed-off-by: Robert Günzler <r <AT> gnzler.io> Closes: https://github.com/gentoo/gentoo/pull/30722 Signed-off-by: Sam James <sam <AT> gentoo.org> app-editors/neovim/files/neovim-9999-cmake-darwin.patch | 14 ++++++++++++++ app-editors/neovim/neovim-9999.ebuild | 2 +- 2 files changed, 15 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..1488148298bd --- /dev/null +++ b/app-editors/neovim/files/neovim-9999-cmake-darwin.patch @@ -0,0 +1,14 @@ +--- a/src/nvim/CMakeLists.txt ++++ b/src/nvim/CMakeLists.txt +@@ -415,11 +415,7 @@ foreach(gen_include ${prop}) + list(APPEND gen_cflags "-I${gen_include}") + endforeach() + endforeach() + +-if(APPLE AND CMAKE_OSX_SYSROOT) +- list(APPEND gen_cflags "-isysroot") +- list(APPEND gen_cflags "${CMAKE_OSX_SYSROOT}") +-endif() + set(gen_cflags ${gen_cflags} -O2) + + set(NVIM_VERSION_GIT_H ${PROJECT_BINARY_DIR}/cmake.config/auto/versiondef_git.h) diff --git a/app-editors/neovim/neovim-9999.ebuild b/app-editors/neovim/neovim-9999.ebuild index c7b386d3e5c8..0bae751e05f7 100644 --- a/app-editors/neovim/neovim-9999.ebuild +++ b/app-editors/neovim/neovim-9999.ebuild @@ -68,7 +68,7 @@ BDEPEND+=" PATCHES=( "${FILESDIR}/${PN}-0.9.0-cmake_lua_version.patch" - "${FILESDIR}/${PN}-0.9.0-cmake-darwin.patch" + "${FILESDIR}/${PN}-9999-cmake-darwin.patch" ) src_prepare() {