Fix build with recent compilers

Take maintainership
This commit is contained in:
Baptiste Daroussin 2021-01-22 08:06:39 +00:00
parent e2c1bce2a4
commit 29c2d6399d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=562279
2 changed files with 21 additions and 1 deletions

View file

@ -6,7 +6,7 @@ PORTVERSION= 1.3.0
CATEGORIES= mail
MASTER_SITES= http://mlmmj.org/releases/
MAINTAINER= ports@FreeBSD.org
MAINTAINER= bapt@FreeBSD.org
COMMENT= Simple and slim mailing list manager
LICENSE= MIT

View file

@ -0,0 +1,20 @@
--- 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);