mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
mail/meta1: fix build with clang16
This commit is contained in:
parent
0b87f3e843
commit
23e2459a2e
11
mail/meta1/files/patch-include_sm_mapcnf.h
Normal file
11
mail/meta1/files/patch-include_sm_mapcnf.h
Normal file
@ -0,0 +1,11 @@
|
||||
--- include/sm/mapcnf.h.orig 2020-12-27 19:02:05 UTC
|
||||
+++ include/sm/mapcnf.h
|
||||
@@ -50,7 +50,7 @@ typedef enum mapspec_kind_E mapspec_kind_T;
|
||||
sm_map_P mst_##what##_map; \
|
||||
char *mst_##what##_name; \
|
||||
char *mst_##what##_type; \
|
||||
- sm_ret_T *mst_##what##_ret
|
||||
+ sm_ret_T mst_##what##_ret
|
||||
|
||||
#define SM_MAPSPEC_FL_IMPLDET 0x00000001u
|
||||
|
15
mail/meta1/files/patch-smtps_smtps.c
Normal file
15
mail/meta1/files/patch-smtps_smtps.c
Normal file
@ -0,0 +1,15 @@
|
||||
--- smtps/smtps.c.orig 2022-09-24 16:59:28 UTC
|
||||
+++ smtps/smtps.c
|
||||
@@ -2168,9 +2168,11 @@ ss_proxy_policy(sasl_conn_t *conn, void *context, cons
|
||||
return SASL_OK;
|
||||
}
|
||||
|
||||
+typedef int (*sasl_callback_ft)(void);
|
||||
+
|
||||
static sasl_callback_t sm_sasl_srvcbs[] =
|
||||
{
|
||||
- { SASL_CB_PROXY_POLICY, &ss_proxy_policy, NULL },
|
||||
+ { SASL_CB_PROXY_POLICY, (sasl_callback_ft)&ss_proxy_policy, NULL },
|
||||
{ SASL_CB_LIST_END, NULL, NULL }
|
||||
};
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user