summaryrefslogtreecommitdiff
path: root/mail/postfix-current/files
diff options
context:
space:
mode:
Diffstat (limited to 'mail/postfix-current/files')
-rw-r--r--mail/postfix-current/files/patch-src__util__sys_defs.h6
-rw-r--r--mail/postfix-current/files/patch-src_tls_tls.h14
2 files changed, 17 insertions, 3 deletions
diff --git a/mail/postfix-current/files/patch-src__util__sys_defs.h b/mail/postfix-current/files/patch-src__util__sys_defs.h
index 0b33c5d1a714..173fa7d2ff75 100644
--- a/mail/postfix-current/files/patch-src__util__sys_defs.h
+++ b/mail/postfix-current/files/patch-src__util__sys_defs.h
@@ -1,10 +1,10 @@
---- src/util/sys_defs.h.orig 2014-12-25 22:33:02 UTC
+--- src/util/sys_defs.h.orig 2016-05-15 15:20:14 UTC
+++ src/util/sys_defs.h
-@@ -26,6 +26,7 @@
+@@ -27,6 +27,7 @@
#if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4) \
|| defined(FREEBSD5) || defined(FREEBSD6) || defined(FREEBSD7) \
|| defined(FREEBSD8) || defined(FREEBSD9) || defined(FREEBSD10) \
+ || defined(FREEBSD11) \
|| defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \
|| defined(OPENBSD2) || defined(OPENBSD3) || defined(OPENBSD4) \
- || defined(OPENBSD5) \
+ || defined(OPENBSD5) || defined(OPENBSD6) \
diff --git a/mail/postfix-current/files/patch-src_tls_tls.h b/mail/postfix-current/files/patch-src_tls_tls.h
new file mode 100644
index 000000000000..2bf7bdd5d082
--- /dev/null
+++ b/mail/postfix-current/files/patch-src_tls_tls.h
@@ -0,0 +1,14 @@
+# fix build against LibreSSL
+# Obtained from: http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/mail/postfix/stable/patches/
+#
+--- src/tls/tls.h.orig 2016-02-06 20:09:41 UTC
++++ src/tls/tls.h
+@@ -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