diff options
author | Hans de Graaff <graaff@gentoo.org> | 2025-01-18 09:07:04 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2025-01-18 09:45:19 +0100 |
commit | 82cb0109fc156567973fca5149f908805d882241 (patch) | |
tree | 40344d4e88d184c0cc798a30a94c9aab2a033315 /dev-ruby/tokyocabinet/files/tokyocabinet-1.32.0-arity.patch | |
parent | www-apps/jekyll: drop 4.3.3 (diff) | |
download | gentoo-82cb0109fc156567973fca5149f908805d882241.tar.gz gentoo-82cb0109fc156567973fca5149f908805d882241.tar.bz2 gentoo-82cb0109fc156567973fca5149f908805d882241.zip |
dev-ruby/tokyocabinet: fix arity of tbdqry_proc method
Closes: https://bugs.gentoo.org/883747
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
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.patch | 11 |
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); |