summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2023-04-24 03:03:08 +0900
committerSam James <sam@gentoo.org>2023-04-29 07:44:18 +0100
commit1ca7a6c04121740ea28ea2325ba222a8807b34d8 (patch)
treee0f45fd844845fb4c4309acbb79a86888a80e8d6 /app-editors
parentnet-im/synapse: add 1.82.0 (diff)
downloadgentoo-1ca7a6c04121740ea28ea2325ba222a8807b34d8.tar.gz
gentoo-1ca7a6c04121740ea28ea2325ba222a8807b34d8.tar.bz2
gentoo-1ca7a6c04121740ea28ea2325ba222a8807b34d8.zip
app-editors/neovim: fix darwin patch for unstable
Signed-off-by: Robert Günzler <r@gnzler.io> Closes: https://github.com/gentoo/gentoo/pull/30722 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/neovim/files/neovim-9999-cmake-darwin.patch14
-rw-r--r--app-editors/neovim/neovim-9999.ebuild2
2 files changed, 15 insertions, 1 deletions
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() {