summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2016-06-05 13:38:12 +0000
committerEray Aslan <eras@gentoo.org>2016-06-05 13:39:06 +0000
commitc33034338866f8114bdeda64aae3b049a056ee4b (patch)
tree3bad66d1f91d609f6e41661110157cc2b07944a9 /mail-mta/postfix/files
parentx11-misc/i3status: Added slot dep for dev-libs/confuse (diff)
downloadgentoo-c33034338866f8114bdeda64aae3b049a056ee4b.tar.gz
gentoo-c33034338866f8114bdeda64aae3b049a056ee4b.tar.bz2
gentoo-c33034338866f8114bdeda64aae3b049a056ee4b.zip
mail-mta/postfix: version bump to postfix-3.2_pre20160604
and add openbsd patch for libressl support while at it. Fixes bug 576272. Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'mail-mta/postfix/files')
-rw-r--r--mail-mta/postfix/files/postfix-libressl.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/mail-mta/postfix/files/postfix-libressl.patch b/mail-mta/postfix/files/postfix-libressl.patch
new file mode 100644
index 000000000000..ce047b760399
--- /dev/null
+++ b/mail-mta/postfix/files/postfix-libressl.patch
@@ -0,0 +1,17 @@
+OpenBSD patch at:
+http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/mail/postfix/snapshot/patches/patch-src_tls_tls_h
+$OpenBSD: patch-src_tls_tls_h,v 1.2 2016/02/25 09:39:49 sthen Exp $
+
+Fix building with LibreSSL
+
+--- src/tls/tls.h.orig Sat Feb 6 15:09:41 2016
++++ src/tls/tls.h Sun Feb 14 19:54:38 2016
+@@ -89,7 +89,7 @@ extern const char *str_tls_level(int);
+ #endif
+
+ /* Backwards compatibility with OpenSSL < 1.1.0 */
+-#if OPENSSL_VERSION_NUMBER < 0x10100000L
++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
+ #define OpenSSL_version_num SSLeay
+ #define OpenSSL_version SSLeay_version
+ #define OPENSSL_VERSION SSLEAY_VERSION