summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2020-05-24 13:26:24 +0200
committerFabian Groffen <grobian@gentoo.org>2020-05-24 13:26:54 +0200
commit08aa447245b739b69a7e36cd324967b3160f2865 (patch)
tree43971b3c2840fcf73bb11887090970b36e706ff3 /mail-mta/exim
parentdev-util/diffoscope: bump up to 145 (diff)
downloadgentoo-08aa447245b739b69a7e36cd324967b3160f2865.tar.gz
gentoo-08aa447245b739b69a7e36cd324967b3160f2865.tar.bz2
gentoo-08aa447245b739b69a7e36cd324967b3160f2865.zip
mail-mta/exim-4.93.0.4-r1: add patch to fix compilation using -fno-common
Closes: https://bugs.gentoo.org/723430 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'mail-mta/exim')
-rw-r--r--mail-mta/exim/exim-4.93.0.4-r1.ebuild1
-rw-r--r--mail-mta/exim/files/exim-4.93-fno-common.patch16
2 files changed, 17 insertions, 0 deletions
diff --git a/mail-mta/exim/exim-4.93.0.4-r1.ebuild b/mail-mta/exim/exim-4.93.0.4-r1.ebuild
index cb68569b7c84..19d13cef361f 100644
--- a/mail-mta/exim/exim-4.93.0.4-r1.ebuild
+++ b/mail-mta/exim/exim-4.93.0.4-r1.ebuild
@@ -116,6 +116,7 @@ src_prepare() {
eapply "${FILESDIR}"/exim-4.93-localscan_dlopen.patch
eapply -p2 "${FILESDIR}"/exim-4.93-radius.patch # 720364
eapply "${FILESDIR}"/exim-4.93-CVE-2020-12783.patch # 722484
+ eapply "${FILESDIR}"/exim-4.93-fno-common.patch # 723430
if use maildir ; then
eapply "${FILESDIR}"/exim-4.20-maildir.patch
diff --git a/mail-mta/exim/files/exim-4.93-fno-common.patch b/mail-mta/exim/files/exim-4.93-fno-common.patch
new file mode 100644
index 000000000000..c5fff1c6720c
--- /dev/null
+++ b/mail-mta/exim/files/exim-4.93-fno-common.patch
@@ -0,0 +1,16 @@
+Fix -fno-common linking
+
+Bug: https://bugs.gentoo.org/723430
+Bug: https://bugs.exim.org/show_bug.cgi?id=2577
+
+--- exim-4.93.0.4/src/globals.h
++++ exim-4.93.0.4/src/globals.h
+@@ -342,7 +342,7 @@
+ extern BOOL allow_domain_literals; /* As it says */
+ extern BOOL allow_mx_to_ip; /* Allow MX records to -> ip address */
+ #ifdef EXPERIMENTAL_ARC
+-struct arc_set *arc_received; /* highest ARC instance evaluation struct */
++extern struct arc_set *arc_received; /* highest ARC instance evaluation struct */
+ extern int arc_received_instance; /* highest ARC instance number in headers */
+ extern int arc_oldest_pass; /* lowest passing instance number in headers */
+ extern const uschar *arc_state; /* verification state */