summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/tokyocabinet/files/tokyocabinet-1.32.0-arity.patch')
-rw-r--r--dev-ruby/tokyocabinet/files/tokyocabinet-1.32.0-arity.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-ruby/tokyocabinet/files/tokyocabinet-1.32.0-arity.patch b/dev-ruby/tokyocabinet/files/tokyocabinet-1.32.0-arity.patch
new file mode 100644
index 000000000000..f11a6c2cc1c8
--- /dev/null
+++ b/dev-ruby/tokyocabinet/files/tokyocabinet-1.32.0-arity.patch
@@ -0,0 +1,11 @@
+--- a/tokyocabinet.c 2025-01-18 08:58:51.200947224 +0100
++++ b/tokyocabinet.c 2025-01-18 09:03:40.936107401 +0100
+@@ -3164,7 +3164,7 @@
+ rb_define_method(cls_tdbqry, "setmax", tdbqry_setlimit, -1);
+ rb_define_method(cls_tdbqry, "search", tdbqry_search, 0);
+ rb_define_method(cls_tdbqry, "searchout", tdbqry_searchout, 0);
+- rb_define_method(cls_tdbqry, "proc", tdbqry_proc, 0);
++ rb_define_method(cls_tdbqry, "proc", tdbqry_proc, 1);
+ rb_define_method(cls_tdbqry, "hint", tdbqry_hint, 0);
+ rb_define_method(cls_tdbqry, "metasearch", tdbqry_metasearch, -1);
+ rb_define_method(cls_tdbqry, "kwic", tdbqry_kwic, -1);