diff options
Diffstat (limited to 'dev-ruby/ruby-ldap/files/ruby-ldap-0.9.20-clang16-fix.patch')
-rw-r--r-- | dev-ruby/ruby-ldap/files/ruby-ldap-0.9.20-clang16-fix.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-ruby/ruby-ldap/files/ruby-ldap-0.9.20-clang16-fix.patch b/dev-ruby/ruby-ldap/files/ruby-ldap-0.9.20-clang16-fix.patch new file mode 100644 index 000000000000..580584c61994 --- /dev/null +++ b/dev-ruby/ruby-ldap/files/ruby-ldap-0.9.20-clang16-fix.patch @@ -0,0 +1,12 @@ +Bug: https://bugs.gentoo.org/884405 +--- a/ldap.c ++++ b/ldap.c +@@ -201,7 +201,7 @@ rb_ldap_hash2mods (VALUE self, VALUE op, VALUE hash) + VALUE tmp; + + tmp = rb_assoc_new (op, rb_ary_new ()); +- rb_iterate (rb_each, hash, rb_ldap_hash2mods_i, tmp); ++ rb_iterate (rb_each, hash, (rb_block_call_func_t)rb_ldap_hash2mods_i, tmp); + + return rb_ary_entry (tmp, 1); + } |