Date: Mon, 14 Aug 2017 00:07:50 +0000 (UTC) From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r447924 - head/mail/isync/files Message-ID: <201708140007.v7E07o5F041928@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708140007.v7E07o5F041928>