commit: 4a979a9ad851cca9e8ff470265b927d2c5ef18c2 Author: tastytea <gentoo <AT> tastytea <DOT> de> AuthorDate: Fri Apr 7 12:56:12 2023 +0000 Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de> CommitDate: Fri Apr 7 12:58:29 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4a979a9a
app-editors/neovim-qt: support >=dev-libs/msgpack-6 Closes: https://bugs.gentoo.org/903963 Signed-off-by: tastytea <gentoo <AT> tastytea.de> .../neovim-qt-0.2.17-fix-finding-msgpack-6+.patch | 26 ++++++++++++++++++++++ ...qt-0.2.17.ebuild => neovim-qt-0.2.17-r1.ebuild} | 5 +++-- 2 files changed, 29 insertions(+), 2 deletions(-) diff --git a/app-editors/neovim-qt/files/neovim-qt-0.2.17-fix-finding-msgpack-6+.patch b/app-editors/neovim-qt/files/neovim-qt-0.2.17-fix-finding-msgpack-6+.patch new file mode 100644 index 000000000..85e532f41 --- /dev/null +++ b/app-editors/neovim-qt/files/neovim-qt-0.2.17-fix-finding-msgpack-6+.patch @@ -0,0 +1,26 @@ +# upstream commit: https://github.com/equalsraf/neovim-qt/commit/c6ae970 + +From c6ae9709237b6a55a705687afe4103646f34ac60 Mon Sep 17 00:00:00 2001 +From: Carlo Cabrera <[email protected]> +Date: Sun, 5 Mar 2023 23:03:47 +0800 +Subject: [PATCH] Fix finding msgpack 6+ + +`libmsgpackc` was renamed to `libmsgpack-c` in 6.0.0. See +msgpack/msgpack-c#1053. +--- + cmake/FindMsgpack.cmake | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/cmake/FindMsgpack.cmake b/cmake/FindMsgpack.cmake +index 0e2013f9d..41e2d7b5c 100644 +--- a/cmake/FindMsgpack.cmake ++++ b/cmake/FindMsgpack.cmake +@@ -5,7 +5,7 @@ find_path(MSGPACK_INCLUDE_DIR + ) + + find_library(MSGPACK_LIBRARY +- NAMES msgpack msgpackc libmsgpack.a libmsgpackc.a ++ NAMES msgpack-c msgpack msgpackc libmsgpack.a libmsgpackc.a + ) + + mark_as_advanced(MSGPACK_INCLUDE_DIR MSGPACK_LIBRARY) diff --git a/app-editors/neovim-qt/neovim-qt-0.2.17.ebuild b/app-editors/neovim-qt/neovim-qt-0.2.17-r1.ebuild similarity index 86% rename from app-editors/neovim-qt/neovim-qt-0.2.17.ebuild rename to app-editors/neovim-qt/neovim-qt-0.2.17-r1.ebuild index 238a8e04f..a1a758b5c 100644 --- a/app-editors/neovim-qt/neovim-qt-0.2.17.ebuild +++ b/app-editors/neovim-qt/neovim-qt-0.2.17-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -38,7 +38,8 @@ RDEPEND=" RESTRICT="!test? ( test )" PATCHES=( - "${FILESDIR}"/${PN}-0.2.17-only-require-Qt5Test-if-tests-are-enabled.patch + "${FILESDIR}"/${P}-only-require-Qt5Test-if-tests-are-enabled.patch + "${FILESDIR}"/${P}-fix-finding-msgpack-6+.patch ) src_configure() { local mycmakeargs=(
