aboutsummaryrefslogtreecommitdiffstats
path: root/testing/dovecot-ceph-plugin/2-fixes.patch
diff options
context:
space:
mode:
authorDuncan Bellamy <dunk@denkimushi.com>2021-06-23 07:32:19 +0000
committerLeo <thinkabit.ukim@gmail.com>2021-07-05 09:29:54 +0000
commit2c39ad3e28d8c1f202e990fdf4c1b906e129f82e (patch)
treedb2f3a7f24eeebfdeb8b966a78027f5f16b7fc07 /testing/dovecot-ceph-plugin/2-fixes.patch
parentb99445977598b3bb8cc66b3a59a2c5edbbedac26 (diff)
testing/dovecot-ceph-plugin: new aport
Diffstat (limited to 'testing/dovecot-ceph-plugin/2-fixes.patch')
-rw-r--r--testing/dovecot-ceph-plugin/2-fixes.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/dovecot-ceph-plugin/2-fixes.patch b/testing/dovecot-ceph-plugin/2-fixes.patch
new file mode 100644
index 00000000000..6d10381d4d0
--- /dev/null
+++ b/testing/dovecot-ceph-plugin/2-fixes.patch
@@ -0,0 +1,21 @@
+submitted as: https://github.com/ceph-dovecot/dovecot-ceph-plugin/pull/272
+
+commit 31f755997e648e813a4eb49d86c301d6e5b1121d
+Author: None None <none@f1-outsourcing.eu>
+Date: Mon Aug 24 12:02:24 2020 +0000
+
+ some compiling fixes
+
+diff --git a/src/storage-rbox/typeof-def.h b/src/storage-rbox/typeof-def.h
+index 4badd34..3ed0b71 100644
+--- a/src/storage-rbox/typeof-def.h
++++ b/src/storage-rbox/typeof-def.h
+@@ -23,7 +23,7 @@
+ /* replacement for MODULE_CONTEXT (v 2.3, assigned void or long int, this is not allowed with c++) */
+ #define RBOX_MODULE_CONTEXT(obj, id_ctx) \
+ (module_get_context_id(&(id_ctx).id) < array_count(&(obj)->module_contexts) \
+- ? (*((void **)array_idx_modifiable(&(obj)->module_contexts, module_get_context_id(&(id_ctx).id)) + \
++ ? (*((index_mailbox_context **)array_idx_modifiable(&(obj)->module_contexts, module_get_context_id(&(id_ctx).id)) + \
+ OBJ_REGISTER_COMPATIBLE(obj, id_ctx))) \
+ : NULL)
+