summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-02-23 15:09:21 +0100
committerDavid Seifert <soap@gentoo.org>2020-02-23 15:09:21 +0100
commit5b6a443003a74df1ac2d620fd37de88316af6646 (patch)
treecb581142b65e3a163b45c2e0d8173a23db377182 /net-mail/mailutils/files
parentnet-dns/bind-tools: Version bump (v9.16.0) (diff)
downloadgentoo-5b6a443003a74df1ac2d620fd37de88316af6646.tar.gz
gentoo-5b6a443003a74df1ac2d620fd37de88316af6646.tar.bz2
gentoo-5b6a443003a74df1ac2d620fd37de88316af6646.zip
net-mail/mailutils: Fix building with GCC 10
Bug: https://bugs.gentoo.org/709274 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-mail/mailutils/files')
-rw-r--r--net-mail/mailutils/files/mailutils-3.4-fno-common.patch11
-rw-r--r--net-mail/mailutils/files/mailutils-3.8-fno-common.patch22
2 files changed, 33 insertions, 0 deletions
diff --git a/net-mail/mailutils/files/mailutils-3.4-fno-common.patch b/net-mail/mailutils/files/mailutils-3.4-fno-common.patch
new file mode 100644
index 000000000000..d981ae6891a8
--- /dev/null
+++ b/net-mail/mailutils/files/mailutils-3.4-fno-common.patch
@@ -0,0 +1,11 @@
+--- a/lib/tcpwrap.h
++++ b/lib/tcpwrap.h
+@@ -18,7 +18,7 @@
+ #include <mailutils/types.h>
+
+ extern int mu_tcp_wrapper_enable;
+-const char *mu_tcp_wrapper_daemon;
++extern const char *mu_tcp_wrapper_daemon;
+ extern int mu_tcpwrapper_access (int fd);
+ extern void mu_tcpwrapper_cfg_init (void);
+ extern int mu_tcp_wrapper_prefork (int fd,
diff --git a/net-mail/mailutils/files/mailutils-3.8-fno-common.patch b/net-mail/mailutils/files/mailutils-3.8-fno-common.patch
new file mode 100644
index 000000000000..c7aa72df10e8
--- /dev/null
+++ b/net-mail/mailutils/files/mailutils-3.8-fno-common.patch
@@ -0,0 +1,22 @@
+--- a/imap4d/imap4d.h
++++ b/imap4d/imap4d.h
+@@ -229,8 +229,6 @@ extern struct mu_tls_config global_tls_conf;
+ extern int test_mode;
+ extern int silent_expunge;
+
+-int tls_available;
+-
+ /* Input functions */
+ extern mu_stream_t iostream;
+ extern int io_untagged_response (int, const char *, ...) MU_PRINTFLIKE(2,3);
+--- a/lib/tcpwrap.h
++++ b/lib/tcpwrap.h
+@@ -17,7 +17,7 @@
+ #include <mailutils/types.h>
+
+ extern int mu_tcp_wrapper_enable;
+-const char *mu_tcp_wrapper_daemon;
++extern const char *mu_tcp_wrapper_daemon;
+ extern int mu_tcpwrapper_access (int fd);
+ extern void mu_tcpwrapper_cfg_init (void);
+ extern int mu_tcp_wrapper_prefork (int fd,