svn commit: r489197 - head/net/netatalk3/files
Joe Marcus Clarke
marcus at FreeBSD.org
Thu Jan 3 18:41:19 UTC 2019
Author: marcus
Date: Thu Jan 3 18:41:18 2019
New Revision: 489197
URL: https://svnweb.freebsd.org/changeset/ports/489197
Log:
Restore fix for build with LibreSSL > 2.7.0.
Reported by: Chip Marshall <chip at 2bithacker.net>
Added:
head/net/netatalk3/files/patch-etc_uams_openssl__compat.h (contents, props changed)
Added: head/net/netatalk3/files/patch-etc_uams_openssl__compat.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/netatalk3/files/patch-etc_uams_openssl__compat.h Thu Jan 3 18:41:18 2019 (r489197)
@@ -0,0 +1,11 @@
+--- etc/uams/openssl_compat.h.orig 2019-01-03 18:36:43.123024000 +0000
++++ etc/uams/openssl_compat.h 2019-01-03 18:37:02.918877000 +0000
+@@ -11,7 +11,7 @@ http://www.gnu.org/licenses/old-licenses
+ #ifndef OPENSSL_COMPAT_H
+ #define OPENSSL_COMPAT_H
+
+-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
++#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL)
+ inline static int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g)
+ {
+ /* If the fields p and g in d are NULL, the corresponding input
More information about the svn-ports-all
mailing list