Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tom Niget
slapos
Commits
0a452b0b
Commit
0a452b0b
authored
Nov 27, 2023
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
component/groonga: version up groonga 13.0.9.
parent
f6c1b145
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
13 deletions
+13
-13
component/groonga/buildout.cfg
component/groonga/buildout.cfg
+3
-3
component/groonga/groonga.patch
component/groonga/groonga.patch
+10
-10
No files found.
component/groonga/buildout.cfg
View file @
0a452b0b
...
@@ -15,12 +15,12 @@ extends =
...
@@ -15,12 +15,12 @@ extends =
[groonga]
[groonga]
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
shared = true
shared = true
url = https://packages.groonga.org/source/groonga/groonga-13.0.
1
.tar.gz
url = https://packages.groonga.org/source/groonga/groonga-13.0.
9
.tar.gz
md5sum = d
17d154c2ceffbf8b21d8ef6d3afa64
4
md5sum = d
5a8f9df940df4a95cdcc25d3c9981c
4
groonga-plugin-dir = @@LOCATION@@/lib/groonga/plugins/
groonga-plugin-dir = @@LOCATION@@/lib/groonga/plugins/
# temporary patch to respect more tokens in natural language mode.
# temporary patch to respect more tokens in natural language mode.
patches =
patches =
${:_profile_base_location_}/groonga.patch#
cc6a678acd478fc074e678c7b7dd09d8
${:_profile_base_location_}/groonga.patch#
4734d6fc490ba7e39d80801283f0ca82
patch-options = -p1
patch-options = -p1
configure-options =
configure-options =
--disable-static
--disable-static
...
...
component/groonga/groonga.patch
View file @
0a452b0b
--- a
/lib/ii.c
diff -ur groonga-13.0.9.orig/lib/ii.c groonga-13.0.9
/lib/ii.c
+++ b/lib/ii.c
--- groonga-13.0.9.orig/lib/ii.c 2023-10-31 02:29:55.456449897 +0000
@@ -10874,7 +10874,9 @@
+++ groonga-13.0.9/lib/ii.c 2023-11-27 18:30:18.279938482 +0000
? ((uint32_t)(data->optarg->similarity_threshold) > GRN_HASH_SIZE(h)
@@ -12761,7 +12761,8 @@
?
GRN_HASH_SIZE(h)
? ((uint32_t)(data->optarg->similarity_threshold) >
GRN_HASH_SIZE(h)
:(uint32_t)(data->optarg->similarity_threshold)
)
? GRN_HASH_SIZE(h
)
- : (GRN_HASH_SIZE(h) >> 3) + 1;
: (uint32_t)(data->optarg->similarity_threshold))
+ : (GRN_HASH_SIZE(h) < 8
- : (GRN_HASH_SIZE(h) >> 3) + 1;
+ ? GRN_HASH_SIZE(h)
+
: (GRN_HASH_SIZE(h) < 8
? GRN_HASH_SIZE(h)
+ : ((GRN_HASH_SIZE(h) - 8) >> 3) + 8);
+
: ((GRN_HASH_SIZE(h) - 8) >> 3) + 8);
if (GRN_HASH_SIZE(h)) {
if (GRN_HASH_SIZE(h)) {
grn_id j, id;
grn_id j, id;
float w2;
float w2;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment