commit: e9b48235e47eaf2ab355b88cd531c477710742d2 Author: brahmajit das <listout <AT> protonmail <DOT> com> AuthorDate: Sat Mar 4 05:41:47 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Mar 4 06:02:35 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9b48235
app-editors/neovim: fix live ebuild darwin patch With commit https://github.com/neovim/neovim/commit/4cf4ae93df6af09ef3a0df678bb3d154b65bf731 checking against string "Darwin" is removed and variable name APPLE is used instead. Signed-off-by: brahmajit das <listout <AT> protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/29918 Signed-off-by: Sam James <sam <AT> gentoo.org> app-editors/neovim/files/neovim-9999-cmake-darwin.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-editors/neovim/files/neovim-9999-cmake-darwin.patch b/app-editors/neovim/files/neovim-9999-cmake-darwin.patch index b2920451743d..cdfb38c3fef4 100644 --- a/app-editors/neovim/files/neovim-9999-cmake-darwin.patch +++ b/app-editors/neovim/files/neovim-9999-cmake-darwin.patch @@ -4,10 +4,10 @@ foreach(gen_include ${prop}) list(APPEND gen_cflags "-I${gen_include}") endforeach() --if(CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_OSX_SYSROOT) +-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)
