Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jan 2021 08:06:40 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r562279 - in head/mail/mlmmj: . files
Message-ID:  <202101220806.10M86eqv060922@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Fri Jan 22 08:06:39 2021
New Revision: 562279
URL: https://svnweb.freebsd.org/changeset/ports/562279

Log:
  Fix build with recent compilers
  Take maintainership

Added:
  head/mail/mlmmj/files/
  head/mail/mlmmj/files/patch-gcc10   (contents, props changed)
Modified:
  head/mail/mlmmj/Makefile

Modified: head/mail/mlmmj/Makefile
==============================================================================
--- head/mail/mlmmj/Makefile	Fri Jan 22 07:51:24 2021	(r562278)
+++ head/mail/mlmmj/Makefile	Fri Jan 22 08:06:39 2021	(r562279)
@@ -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

Added: head/mail/mlmmj/files/patch-gcc10
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/mlmmj/files/patch-gcc10	Fri Jan 22 08:06:39 2021	(r562279)
@@ -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);
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101220806.10M86eqv060922>