mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Fix build with recent compilers
Take maintainership
This commit is contained in:
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
|
@ -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
|
||||
|
|
20
mail/mlmmj/files/patch-gcc10
Normal file
20
mail/mlmmj/files/patch-gcc10
Normal 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);
|
||||
|
Loading…
Add table
Reference in a new issue