From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B3EE9138350 for ; Thu, 30 Jan 2020 19:49:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DC45FE0899; Thu, 30 Jan 2020 19:49:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AC0DAE0899 for ; Thu, 30 Jan 2020 19:49:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 66C6034E592 for ; Thu, 30 Jan 2020 19:49:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0FB2B71 for ; Thu, 30 Jan 2020 19:49:41 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1580413774.a1c0385dd3e7a463ababe24f39d96dffd1f6ac28.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/mlmmj/files/, net-mail/mlmmj/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-mail/mlmmj/files/mlmmj-1.3.0-gcc-10.patch net-mail/mlmmj/mlmmj-1.3.0.ebuild X-VCS-Directories: net-mail/mlmmj/files/ net-mail/mlmmj/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: a1c0385dd3e7a463ababe24f39d96dffd1f6ac28 X-VCS-Branch: master Date: Thu, 30 Jan 2020 19:49:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8b1b2fc3-6245-413a-9000-74d789f7d3d8 X-Archives-Hash: 477653d5b2e9660a1df6cbf80776eb58 commit: a1c0385dd3e7a463ababe24f39d96dffd1f6ac28 Author: Sergei Trofimovich gentoo org> AuthorDate: Thu Jan 30 19:49:12 2020 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Thu Jan 30 19:49:34 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1c0385d net-mail/mlmmj: tweak for gcc-10, bug # Reported-by: Toralf Förster Closes: https://bugs.gentoo.org/707476 Package-Manager: Portage-2.3.86, Repoman-2.3.20 Signed-off-by: Sergei Trofimovich gentoo.org> net-mail/mlmmj/files/mlmmj-1.3.0-gcc-10.patch | 20 ++++++++++++++++++++ net-mail/mlmmj/mlmmj-1.3.0.ebuild | 3 ++- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/net-mail/mlmmj/files/mlmmj-1.3.0-gcc-10.patch b/net-mail/mlmmj/files/mlmmj-1.3.0-gcc-10.patch new file mode 100644 index 00000000000..83217241e1d --- /dev/null +++ b/net-mail/mlmmj/files/mlmmj-1.3.0-gcc-10.patch @@ -0,0 +1,20 @@ +--- a/include/mlmmj.h ++++ b/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); + diff --git a/net-mail/mlmmj/mlmmj-1.3.0.ebuild b/net-mail/mlmmj/mlmmj-1.3.0.ebuild index 66a6bc8a1e1..c955caee300 100644 --- a/net-mail/mlmmj/mlmmj-1.3.0.ebuild +++ b/net-mail/mlmmj/mlmmj-1.3.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -18,6 +18,7 @@ S="${WORKDIR}/${MY_P}" DOCS="AUTHORS ChangeLog FAQ README* TODO TUNABLES UPGRADE" PATCHES=( "${FILESDIR}"/mlmmj-1.2.19.0-listcontrol-customheaders.patch + "${FILESDIR}"/mlmmj-1.3.0-gcc-10.patch ) src_configure() {