Fix the build issue on i386 platform.
Do not bump PORTREVISION cause the port has no successful build on i386.
This commit is contained in:
parent
d13d0a64a0
commit
a00d50aa7a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=527470
11
textproc/redisearch/files/patch-src_numeric__index.c
Normal file
11
textproc/redisearch/files/patch-src_numeric__index.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/numeric_index.c.orig 2020-02-29 20:43:50 UTC
|
||||
+++ src/numeric_index.c
|
||||
@@ -474,7 +474,7 @@ int NumericIndexType_Register(RedisModuleCtx *ctx) {
|
||||
.rdb_save = NumericIndexType_RdbSave,
|
||||
.aof_rewrite = GenericAofRewrite_DisabledHandler,
|
||||
.free = NumericIndexType_Free,
|
||||
- .mem_usage = NumericIndexType_MemUsage};
|
||||
+ .mem_usage = (const void *)NumericIndexType_MemUsage};
|
||||
|
||||
NumericIndexType = RedisModule_CreateDataType(ctx, "numericdx", NUMERIC_INDEX_ENCVER, &tm);
|
||||
if (NumericIndexType == NULL) {
|
11
textproc/redisearch/files/patch-src_redis__index.c
Normal file
11
textproc/redisearch/files/patch-src_redis__index.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/redis_index.c.orig 2020-02-29 20:35:56 UTC
|
||||
+++ src/redis_index.c
|
||||
@@ -108,7 +108,7 @@ int InvertedIndex_RegisterType(RedisModuleCtx *ctx) {
|
||||
.rdb_load = InvertedIndex_RdbLoad,
|
||||
.rdb_save = InvertedIndex_RdbSave,
|
||||
.aof_rewrite = GenericAofRewrite_DisabledHandler,
|
||||
- .mem_usage = InvertedIndex_MemUsage,
|
||||
+ .mem_usage = (const void *)InvertedIndex_MemUsage,
|
||||
.free = InvertedIndex_Free};
|
||||
|
||||
InvertedIndexType = RedisModule_CreateDataType(ctx, "ft_invidx", INVERTED_INDEX_ENCVER, &tm);
|
Loading…
Reference in New Issue
Block a user