git: 223dbea2c11f - main - editors/neovim-qt: Unbreak with msgpack-c 7

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sat, 26 Sep 2026 18:38:21 UTC
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=223dbea2c11f230735c03ba84284dd6156b5802d

commit 223dbea2c11f230735c03ba84284dd6156b5802d
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2026-09-26 18:37:13 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2026-09-26 18:38:11 +0000

    editors/neovim-qt: Unbreak with msgpack-c 7
    
    Adapt upstream patch fix.
---
 .../files/patch-Fix_msgpack-c_version_check          | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/editors/neovim-qt/files/patch-Fix_msgpack-c_version_check b/editors/neovim-qt/files/patch-Fix_msgpack-c_version_check
new file mode 100644
index 000000000000..a0e82afa192c
--- /dev/null
+++ b/editors/neovim-qt/files/patch-Fix_msgpack-c_version_check
@@ -0,0 +1,20 @@
+https://github.com/equalsraf/neovim-qt/commit/80971ef7142ca09e9d42e9bd11bf61401e4921d6
+
+Fix msgpack-c version check
+We cannot use ranges in msgpack-c version check, check version 6 first
+and then version 7.
+
+--- CMakeLists.txt.orig	2026-09-26 18:21:12 UTC
++++ CMakeLists.txt
+@@ -151,7 +151,10 @@ if(USE_SYSTEM_MSGPACK)
+ # msgpack
+ option(USE_SYSTEM_MSGPACK "Use system msgpack libraries " OFF)
+ if(USE_SYSTEM_MSGPACK)
+-	find_package(msgpack-c 6.0.0 REQUIRED)
++	find_package(msgpack-c 7)
++	if(NOT msgpack-c_FOUND)
++		find_package(msgpack-c 6 REQUIRED)
++	endif()
+ else()
+ 	add_subdirectory(third-party)
+ endif()