diff options
author | Chris Rees <crees@FreeBSD.org> | 2012-04-14 15:49:42 +0000 |
---|---|---|
committer | Chris Rees <crees@FreeBSD.org> | 2012-04-14 15:49:42 +0000 |
commit | d44b9bfa19c71e8aa241b67d932a8387262ac53d (patch) | |
tree | 39223d73fc96aced4d00845e3ea4a687192fbbc7 /mail/dma/files/patch-crypto.c | |
parent | Update to 0.41 (diff) |
Fix a couple of issues:
- Make compile with old and new openssl
- Do not try to call git to get the version number
- Fix compile on FreeBSD 8.1
- Change maintainer email address
PR: ports/165775
Submitted by: bz
Notes
Notes:
svn path=/head/; revision=294811
Diffstat (limited to 'mail/dma/files/patch-crypto.c')
-rw-r--r-- | mail/dma/files/patch-crypto.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/mail/dma/files/patch-crypto.c b/mail/dma/files/patch-crypto.c index b4fe877a54cd..2d0e229f5547 100644 --- a/mail/dma/files/patch-crypto.c +++ b/mail/dma/files/patch-crypto.c @@ -1,11 +1,14 @@ ---- ./crypto.c.orig 2012-01-03 13:54:05.000000000 +0000 -+++ ./crypto.c 2012-01-24 22:57:41.000000000 +0000 -@@ -80,7 +80,7 @@ +--- crypto.c.orig 2012-01-03 13:54:05.000000000 +0000 ++++ crypto.c 2012-03-06 23:50:42.000000000 +0000 +@@ -80,7 +80,11 @@ int smtp_init_crypto(int fd, int feature) { SSL_CTX *ctx = NULL; -- const SSL_METHOD *meth = NULL; ++#if (OPENSSL_VERSION_NUMBER >= 0x00909000L) + const SSL_METHOD *meth = NULL; ++#else + SSL_METHOD *meth = NULL; ++#endif X509 *cert; int error; |