Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Apr 2020 21:40:36 +0000 (UTC)
From:      "Sergey A. Osokin" <osa@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r533277 - in head/textproc/redisearch: . files
Message-ID:  <202004282140.03SLea50018376@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: osa
Date: Tue Apr 28 21:40:36 2020
New Revision: 533277
URL: https://svnweb.freebsd.org/changeset/ports/533277

Log:
  Update to the recent branch 1.6 and release 1.6.12.
  
  Please visit the following link to get more details:
  https://github.com/RediSearch/RediSearch/releases

Added:
  head/textproc/redisearch/files/patch-src_fork__gc.c   (contents, props changed)
Modified:
  head/textproc/redisearch/Makefile
  head/textproc/redisearch/distinfo

Modified: head/textproc/redisearch/Makefile
==============================================================================
--- head/textproc/redisearch/Makefile	Tue Apr 28 21:25:16 2020	(r533276)
+++ head/textproc/redisearch/Makefile	Tue Apr 28 21:40:36 2020	(r533277)
@@ -3,7 +3,7 @@
 
 PORTNAME=	redisearch
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.4.27
+DISTVERSION=	1.6.12
 CATEGORIES=	textproc
 
 MAINTAINER=	osa@FreeBSD.org
@@ -14,7 +14,7 @@ LICENSE_NAME=	Redis Source Available License Agreement
 LICENSE_FILE=	${WRKSRC}/LICENSE
 LICENSE_PERMS=	dist-mirror pkg-mirror auto-accept
 
-USES=		cmake compiler:c++11-lang
+USES=		cmake compiler
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	RediSearch

Modified: head/textproc/redisearch/distinfo
==============================================================================
--- head/textproc/redisearch/distinfo	Tue Apr 28 21:25:16 2020	(r533276)
+++ head/textproc/redisearch/distinfo	Tue Apr 28 21:40:36 2020	(r533277)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1586955959
-SHA256 (RediSearch-RediSearch-v1.4.27_GH0.tar.gz) = 92f51d5a0ce4fb5ff22dbc4da3b24d700dd247460607abd2902493bedff85749
-SIZE (RediSearch-RediSearch-v1.4.27_GH0.tar.gz) = 3575961
+TIMESTAMP = 1587566660
+SHA256 (RediSearch-RediSearch-v1.6.12_GH0.tar.gz) = 143e97c9354f7dfb2b1a0e3c5a23256130e23204abf643826fe9c44dcd62bc6c
+SIZE (RediSearch-RediSearch-v1.6.12_GH0.tar.gz) = 3669819

Added: head/textproc/redisearch/files/patch-src_fork__gc.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/redisearch/files/patch-src_fork__gc.c	Tue Apr 28 21:40:36 2020	(r533277)
@@ -0,0 +1,21 @@
+--- src/fork_gc.c.orig	2020-04-12 11:18:47 UTC
++++ src/fork_gc.c
+@@ -282,6 +282,7 @@ done:
+ }
+ 
+ static void sendHeaderString(ForkGC *gc, void *arg) {
++  struct iovec { void *iov_base; size_t iov_len; };
+   struct iovec *iov = arg;
+   FGC_sendBuffer(gc, iov->iov_base, iov->iov_len);
+ }
+@@ -298,7 +299,9 @@ static void FGC_childCollectTerms(ForkGC *gc, RedisSea
+     RedisModuleKey *idxKey = NULL;
+     InvertedIndex *idx = Redis_OpenInvertedIndexEx(sctx, term, strlen(term), 1, &idxKey);
+     if (idx) {
+-      struct iovec iov = {.iov_base = (void *)term, termLen};
++      struct iovec { void *iov_base; size_t iov_len; } iov;
++      iov.iov_base = term;
++      iov.iov_len = termLen;
+       FGC_childRepairInvidx(gc, sctx, idx, sendHeaderString, &iov, NULL);
+     }
+     if (idxKey) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004282140.03SLea50018376>