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 <slyfox@gentoo.org>
--- /dev/null
+--- 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);
+
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
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() {