From 0698cd390e7c6ac9d1f94bc86ed386a3884ceaed Mon Sep 17 00:00:00 2001
From: Dan Goodliffe <dan@randomdan.homeip.net>
Date: Thu, 15 Dec 2022 11:12:01 +0000
Subject: Temporary patch to fix Exim compile with openssl-3

---
 mail-mta/exim/openssl-3.patch | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 mail-mta/exim/openssl-3.patch

diff --git a/mail-mta/exim/openssl-3.patch b/mail-mta/exim/openssl-3.patch
new file mode 100644
index 0000000..abbffe7
--- /dev/null
+++ b/mail-mta/exim/openssl-3.patch
@@ -0,0 +1,11 @@
+--- exim-4.95/src/tls-openssl.c~	2021-09-28 08:24:46.000000000 +0000
++++ exim-4.95/src/tls-openssl.c	2021-10-06 06:17:24.439990018 +0000
+@@ -232,7 +232,7 @@
+   { US"no_tlsv1", SSL_OP_NO_TLSv1 },
+ #endif
+ #ifdef SSL_OP_NO_TLSv1_1
+-#if SSL_OP_NO_TLSv1_1 == 0x00000400L
++#if (OPENSSL_VERSION_NUMBER < 0x30000000fL) && (SSL_OP_NO_TLSv1_1 == 0x00000400L)
+   /* Error in chosen value in 1.0.1a; see first item in CHANGES for 1.0.1b */
+ #warning OpenSSL 1.0.1a uses a bad value for SSL_OP_NO_TLSv1_1, ignoring
+ #else
-- 
cgit v1.2.3