svn commit: r447924 - head/mail/isync/files
Emanuel Haupt
ehaupt at FreeBSD.org
Mon Aug 14 00:07:51 UTC 2017
Author: ehaupt
Date: Mon Aug 14 00:07:50 2017
New Revision: 447924
URL: https://svnweb.freebsd.org/changeset/ports/447924
Log:
Fix build with libressl
PR: 221498
Submitted by: pkubaj at anongoth.pl
Added:
head/mail/isync/files/
head/mail/isync/files/patch-src_socket.c (contents, props changed)
Added: head/mail/isync/files/patch-src_socket.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/mail/isync/files/patch-src_socket.c Mon Aug 14 00:07:50 2017 (r447924)
@@ -0,0 +1,11 @@
+--- src/socket.c.orig 2017-08-13 23:04:40 UTC
++++ src/socket.c
+@@ -40,7 +40,7 @@
+ # include <openssl/ssl.h>
+ # include <openssl/err.h>
+ # include <openssl/x509v3.h>
+-# if OPENSSL_VERSION_NUMBER < 0x10100000L
++# if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
+ # define X509_OBJECT_get0_X509(o) ((o)->data.x509)
+ # define X509_STORE_get0_objects(o) ((o)->objs)
+ # endif
More information about the svn-ports-head
mailing list