summaryrefslogtreecommitdiff
path: root/net-mail/mlmmj/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-02-05 18:44:56 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-02-05 18:44:56 +0000
commit29aabba0ea759c6a2864ff5631735b67ee38e5e0 (patch)
treeab466b4dfa7abecb401b2f8039d08af4689306bb /net-mail/mlmmj/files
parentd42200bec37eef2a7478d88988ff00addd0a9202 (diff)
gentoo resync : 05.02.2020
Diffstat (limited to 'net-mail/mlmmj/files')
-rw-r--r--net-mail/mlmmj/files/mlmmj-1.3.0-gcc-10.patch20
1 files changed, 20 insertions, 0 deletions
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 000000000000..83217241e1db
--- /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);
+