summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrahmajit Das <brahmajit.xyz@gmail.com>2023-05-29 17:18:30 +0530
committerSam James <sam@gentoo.org>2023-05-31 06:49:18 +0100
commitb858300166fa8248eda22416387c8d0b0d182a11 (patch)
treeac1078fd80f8de3adbd49ebc3bf1fb26244ee35b /app-editors/neovim/files/neovim-0.9.1-cmake-darwin.patch
parentdev-python/hypothesis: drop a deselected test for 3.12 (diff)
downloadgentoo-b858300166fa8248eda22416387c8d0b0d182a11.tar.gz
gentoo-b858300166fa8248eda22416387c8d0b0d182a11.tar.bz2
gentoo-b858300166fa8248eda22416387c8d0b0d182a11.zip
app-editors/neovim: add 0.9.1
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-editors/neovim/files/neovim-0.9.1-cmake-darwin.patch')
-rw-r--r--app-editors/neovim/files/neovim-0.9.1-cmake-darwin.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/app-editors/neovim/files/neovim-0.9.1-cmake-darwin.patch b/app-editors/neovim/files/neovim-0.9.1-cmake-darwin.patch
new file mode 100644
index 000000000000..1488148298bd
--- /dev/null
+++ b/app-editors/neovim/files/neovim-0.9.1-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)