1 |
commit: e9b48235e47eaf2ab355b88cd531c477710742d2 |
2 |
Author: brahmajit das <listout <AT> protonmail <DOT> com> |
3 |
AuthorDate: Sat Mar 4 05:41:47 2023 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 4 06:02:35 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9b48235 |
7 |
|
8 |
app-editors/neovim: fix live ebuild darwin patch |
9 |
|
10 |
With commit https://github.com/neovim/neovim/commit/4cf4ae93df6af09ef3a0df678bb3d154b65bf731 |
11 |
checking against string "Darwin" is removed and variable name APPLE is |
12 |
used instead. |
13 |
|
14 |
Signed-off-by: brahmajit das <listout <AT> protonmail.com> |
15 |
Closes: https://github.com/gentoo/gentoo/pull/29918 |
16 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
17 |
|
18 |
app-editors/neovim/files/neovim-9999-cmake-darwin.patch | 4 ++-- |
19 |
1 file changed, 2 insertions(+), 2 deletions(-) |
20 |
|
21 |
diff --git a/app-editors/neovim/files/neovim-9999-cmake-darwin.patch b/app-editors/neovim/files/neovim-9999-cmake-darwin.patch |
22 |
index b2920451743d..cdfb38c3fef4 100644 |
23 |
--- a/app-editors/neovim/files/neovim-9999-cmake-darwin.patch |
24 |
+++ b/app-editors/neovim/files/neovim-9999-cmake-darwin.patch |
25 |
@@ -4,10 +4,10 @@ |
26 |
foreach(gen_include ${prop}) |
27 |
list(APPEND gen_cflags "-I${gen_include}") |
28 |
endforeach() |
29 |
--if(CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_OSX_SYSROOT) |
30 |
+-if(APPLE AND CMAKE_OSX_SYSROOT) |
31 |
- list(APPEND gen_cflags "-isysroot") |
32 |
- list(APPEND gen_cflags "${CMAKE_OSX_SYSROOT}") |
33 |
-endif() |
34 |
set(gen_cflags ${gen_cflags} -O2) |
35 |
- |
36 |
+ |
37 |
set(NVIM_VERSION_GIT_H ${PROJECT_BINARY_DIR}/cmake.config/auto/versiondef_git.h) |