From owner-svn-ports-all@freebsd.org Fri Jan 22 08:06:40 2021 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C3D644ED7F6; Fri, 22 Jan 2021 08:06:40 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DMX0J4sfCz4XK5; Fri, 22 Jan 2021 08:06:40 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 956871B326; Fri, 22 Jan 2021 08:06:40 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 10M86edN060924; Fri, 22 Jan 2021 08:06:40 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 10M86eqv060922; Fri, 22 Jan 2021 08:06:40 GMT (envelope-from bapt@FreeBSD.org) Message-Id: <202101220806.10M86eqv060922@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f From: Baptiste Daroussin Date: Fri, 22 Jan 2021 08:06:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r562279 - in head/mail/mlmmj: . files X-SVN-Group: ports-head X-SVN-Commit-Author: bapt X-SVN-Commit-Paths: in head/mail/mlmmj: . files X-SVN-Commit-Revision: 562279 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2021 08:06:40 -0000 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); +