ports/mail/mlmmj/files/patch-gcc10
Baptiste Daroussin 29c2d6399d Fix build with recent compilers
Take maintainership
2021-01-22 08:06:39 +00:00

21 lines
632 B
Plaintext

--- include/mlmmj.h
+++ include/mlmmj.h
@@ -81,7 +81,7 @@ enum subtype {
SUB_NONE /* For when an address is not subscribed at all */
};
-char *subtype_strs[7]; /* count matches enum above; defined in subscriberfuncs.c */
+extern char *subtype_strs[7]; /* count matches enum above; defined in subscriberfuncs.c */
enum subreason {
SUB_REQUEST,
@@ -92,7 +92,7 @@ enum subreason {
SUB_SWITCH
};
-char * subreason_strs[6]; /* count matches enum above; defined in subscriberfuncs.c */
+extern char * subreason_strs[6]; /* count matches enum above; defined in subscriberfuncs.c */
void print_version(const char *prg);