git: 1874a0a35da0 - main - textproc/redisearch2: Update version 2.10.14=>2.10.15

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Wed, 30 Sep 2026 14:42:16 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1874a0a35da02bf1e626b77b0542875f3ffb8e46

commit 1874a0a35da02bf1e626b77b0542875f3ffb8e46
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2026-09-30 14:34:00 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2026-09-30 14:41:48 +0000

    textproc/redisearch2: Update version 2.10.14=>2.10.15
    
    Changelog: https://github.com/RediSearch/RediSearch/releases/tag/v2.10.15
---
 textproc/redisearch2/Makefile                             |  6 ++++--
 textproc/redisearch2/distinfo                             |  8 +++++---
 textproc/redisearch2/files/patch-src_fork__gc.c           | 12 ++++++------
 .../redisearch2/files/patch-src_geometry_CMakeLists.txt   | 15 ---------------
 textproc/redisearch2/files/patch-src_numeric__index.c     |  4 ++--
 textproc/redisearch2/files/patch-src_util_hash_hash.cpp   | 15 +++++++++++++++
 6 files changed, 32 insertions(+), 28 deletions(-)

diff --git a/textproc/redisearch2/Makefile b/textproc/redisearch2/Makefile
index 5e65bfcbd74b..7897b397f087 100644
--- a/textproc/redisearch2/Makefile
+++ b/textproc/redisearch2/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	redisearch
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.10.14
+DISTVERSION=	2.10.15
 CATEGORIES=	textproc
 PKGNAMESUFFIX=	${DISTVERSION:R:R}
 
@@ -29,10 +29,12 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	RediSearch
 GH_PROJECT=	RediSearch
 GH_TUPLE=	RedisAI:VectorSimilarity:f45dd53:vectorsimilarity/deps/VectorSimilarity \
+		redis:hiredis:052f99a:hiredis/deps/hiredis \
 		RedisLabsModules:readies:c609278:readies/deps/readies \
 		RedisLabs:RedisModulesSDK:6a62be4:redismodulesdk/deps/RedisModulesSDK \
 
-CMAKE_ARGS=	-DGIT_DESCRIBE_VERSION:STRING=${PKGVERSION} \
+CMAKE_ARGS=	-DBOOST_DIR=${LOCALBASE} \
+		-DGIT_DESCRIBE_VERSION:STRING=${PKGVERSION} \
 		-DOS=freebsd -Wno-dev
 
 PLIST_FILES=	lib/${PORTNAME}${PKGNAMESUFFIX}.so
diff --git a/textproc/redisearch2/distinfo b/textproc/redisearch2/distinfo
index 565d6eab9cff..95e0dd9e02d0 100644
--- a/textproc/redisearch2/distinfo
+++ b/textproc/redisearch2/distinfo
@@ -1,8 +1,10 @@
-TIMESTAMP = 1790604768
-SHA256 (RediSearch-RediSearch-v2.10.14_GH0.tar.gz) = 93ffac8a799ddbdbdfa51e3d5865de82d5ee848caeb05a9034439fad6f78fe41
-SIZE (RediSearch-RediSearch-v2.10.14_GH0.tar.gz) = 4620695
+TIMESTAMP = 1790778398
+SHA256 (RediSearch-RediSearch-v2.10.15_GH0.tar.gz) = 6dbe72cf71a31511908e29e184060f41e9f098f620fe98256ff6f0ae531001f0
+SIZE (RediSearch-RediSearch-v2.10.15_GH0.tar.gz) = 4636572
 SHA256 (RedisAI-VectorSimilarity-f45dd53_GH0.tar.gz) = 58efbde3b88a32d9be487fd2d95c2401f60cdbeaaeb07ee8cfa13391384cbbb5
 SIZE (RedisAI-VectorSimilarity-f45dd53_GH0.tar.gz) = 387952
+SHA256 (redis-hiredis-052f99a_GH0.tar.gz) = 5e1aefd292799686de53c1e24059cf735312c4e4e6c8b327211ac9f8034c4f74
+SIZE (redis-hiredis-052f99a_GH0.tar.gz) = 125655
 SHA256 (RedisLabsModules-readies-c609278_GH0.tar.gz) = 8b3130e95685c9e1645f8f51718ac08d4a872ebb515e4747c7205ebd611ecce6
 SIZE (RedisLabsModules-readies-c609278_GH0.tar.gz) = 94496
 SHA256 (RedisLabs-RedisModulesSDK-6a62be4_GH0.tar.gz) = 92f724ae46481abcd292e318fccff6cb691c1d295e288c6efa68ed51aae75d83
diff --git a/textproc/redisearch2/files/patch-src_fork__gc.c b/textproc/redisearch2/files/patch-src_fork__gc.c
index 4c2f411c2985..07a1cc0a510d 100644
--- a/textproc/redisearch2/files/patch-src_fork__gc.c
+++ b/textproc/redisearch2/files/patch-src_fork__gc.c
@@ -1,6 +1,6 @@
---- src/fork_gc.c.orig	2024-09-12 09:26:06 UTC
+--- src/fork_gc.c.orig	2025-03-20 10:46:28 UTC
 +++ src/fork_gc.c
-@@ -278,6 +278,7 @@ static void sendHeaderString(ForkGC *gc, void *arg) {
+@@ -280,6 +280,7 @@ static void sendHeaderString(ForkGC *gc, void *arg) {
  }
  
  static void sendHeaderString(ForkGC *gc, void *arg) {
@@ -8,9 +8,9 @@
    struct iovec *iov = arg;
    FGC_sendBuffer(gc, iov->iov_base, iov->iov_len);
  }
-@@ -294,7 +295,9 @@ static void FGC_childCollectTerms(ForkGC *gc, RedisSea
-     RedisModuleKey *idxKey = NULL;
-     InvertedIndex *idx = Redis_OpenInvertedIndexEx(sctx, term, strlen(term), 1, NULL, &idxKey);
+@@ -295,7 +296,9 @@ static void FGC_childCollectTerms(ForkGC *gc, RedisSea
+     char *term = runesToStr(rstr, slen, &termLen);
+     InvertedIndex *idx = Redis_OpenInvertedIndex(sctx, term, strlen(term), DONT_CREATE_INDEX, NULL);
      if (idx) {
 -      struct iovec iov = {.iov_base = (void *)term, termLen};
 +      struct iovec { void *iov_base; size_t iov_len; } iov;
@@ -18,4 +18,4 @@
 +      iov.iov_len = termLen;
        FGC_childRepairInvidx(gc, sctx, idx, sendHeaderString, &iov, NULL);
      }
-     if (idxKey) {
+     rm_free(term);
diff --git a/textproc/redisearch2/files/patch-src_geometry_CMakeLists.txt b/textproc/redisearch2/files/patch-src_geometry_CMakeLists.txt
deleted file mode 100644
index f07eb80f6436..000000000000
--- a/textproc/redisearch2/files/patch-src_geometry_CMakeLists.txt
+++ /dev/null
@@ -1,15 +0,0 @@
---- src/geometry/CMakeLists.txt.orig	2026-07-24 21:10:30 UTC
-+++ src/geometry/CMakeLists.txt
-@@ -9,7 +9,11 @@ message(STATUS "BOOST_DIR: ${BOOST_DIR}")
- # include_directories(${absl_INCLUDE_DIR})
- message(STATUS "BOOST_DIR: ${BOOST_DIR}")
- 
--if(NOT BOOST_DIR STREQUAL "" AND EXISTS ${BOOST_DIR})
-+if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
-+	message(STATUS "FreeBSD detected, using system Boost")
-+	find_package(Boost REQUIRED)
-+	include_directories(${Boost_INCLUDE_DIRS})
-+elseif(NOT BOOST_DIR STREQUAL "" AND EXISTS ${BOOST_DIR})
-  	message(STATUS "BOOST_DIR is not empty: ${BOOST_DIR}")
- 	include_directories(${BOOST_DIR})
- else()
diff --git a/textproc/redisearch2/files/patch-src_numeric__index.c b/textproc/redisearch2/files/patch-src_numeric__index.c
index 844bda783d03..71e06afc2301 100644
--- a/textproc/redisearch2/files/patch-src_numeric__index.c
+++ b/textproc/redisearch2/files/patch-src_numeric__index.c
@@ -1,6 +1,6 @@
---- src/numeric_index.c.orig	2024-09-12 09:26:06 UTC
+--- src/numeric_index.c.orig	2025-03-20 10:46:28 UTC
 +++ src/numeric_index.c
-@@ -689,7 +689,7 @@ int NumericIndexType_Register(RedisModuleCtx *ctx) {
+@@ -602,7 +602,7 @@ int NumericIndexType_Register(RedisModuleCtx *ctx) {
                                 .rdb_save = NumericIndexType_RdbSave,
                                 .aof_rewrite = GenericAofRewrite_DisabledHandler,
                                 .free = NumericIndexType_Free,
diff --git a/textproc/redisearch2/files/patch-src_util_hash_hash.cpp b/textproc/redisearch2/files/patch-src_util_hash_hash.cpp
new file mode 100644
index 000000000000..ed7c0c88f9ac
--- /dev/null
+++ b/textproc/redisearch2/files/patch-src_util_hash_hash.cpp
@@ -0,0 +1,15 @@
+--- src/util/hash/hash.cpp.orig	2026-09-30 14:30:41 UTC
++++ src/util/hash/hash.cpp
+@@ -4,7 +4,11 @@ void Sha1_Compute(const char *value, size_t len, Sha1*
+ void Sha1_Compute(const char *value, size_t len, Sha1* output) {
+   boost::uuids::detail::sha1 sha1;
+   sha1.process_bytes(value, len);
+-  sha1.get_digest(output->hash);
++  boost::uuids::detail::sha1::digest_type digest;
++  sha1.get_digest(digest);
++  for (int i = 0; i < 5; i++) {
++      output->hash[i] = ((uint32_t)digest[i * 4] << 24) | ((uint32_t)digest[i * 4 + 1] << 16) | ((uint32_t)digest[i * 4 + 2] << 8) | (uint32_t)digest[i * 4 + 3];
++  }
+ }
+ 
+ void Sha1_FormatIntoBuffer(const Sha1 *sha1, char *buffer) {