commit:     f91cb005d0f1610655c3d91b2172482c6d481189
Author:     listout <listout <AT> protonmail <DOT> com>
AuthorDate: Wed Jan  4 09:19:28 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jan  5 05:20:10 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f91cb005

app-editors/neovim: Syncing live ebuild to 0.8.2 ebuild

With PR #28893, the syntax of adding patches is modified, this PR is
reflecting those changes in the live ebuild.

Referrence: https://github.com/gentoo/gentoo/pull/28893#issuecomment-1370510768
Signed-off-by: listout <listout <AT> protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/28957
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-editors/neovim/neovim-9999.ebuild | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/app-editors/neovim/neovim-9999.ebuild 
b/app-editors/neovim/neovim-9999.ebuild
index da37df6874aa..6083e311ff39 100644
--- a/app-editors/neovim/neovim-9999.ebuild
+++ b/app-editors/neovim/neovim-9999.ebuild
@@ -68,17 +68,14 @@ BDEPEND="
        )
 "
 
-PATCHES=()
+PATCHES=(
+       "${FILESDIR}/${PN}-9999-cmake_lua_version.patch"
+       "${FILESDIR}/${PN}-9999-cmake-darwin.patch"
+)
 
-if [[ ${PV} == 9999 ]]; then
-       PATCHES+=(
-               "${FILESDIR}/${PN}-9999-cmake_lua_version.patch"
-               "${FILESDIR}/${PN}-9999-cmake-darwin.patch"
-       )
-else
+if [[ ${PV} != 9999 ]]; then
        PATCHES+=(
-               "${FILESDIR}/${PN}-9999-cmake_lua_version.patch"
-               "${FILESDIR}/${PN}-9999-cmake-darwin.patch"
+               "${FILESDIR}/${PN}-0.8.0-cmake-release-type.patch"
        )
 fi
 

Reply via email to