svn commit: r469690 - head/net/netatalk3/files

Joe Marcus Clarke marcus at FreeBSD.org
Fri May 11 20:14:56 UTC 2018


Author: marcus
Date: Fri May 11 20:14:54 2018
New Revision: 469690
URL: https://svnweb.freebsd.org/changeset/ports/469690

Log:
  Fix the build with libressl > 2.7.0.
  
  PR:		227860
  Submitted by:	brnrd

Modified:
  head/net/netatalk3/files/patch-etc_uams_openssl__compat.h

Modified: head/net/netatalk3/files/patch-etc_uams_openssl__compat.h
==============================================================================
--- head/net/netatalk3/files/patch-etc_uams_openssl__compat.h	Fri May 11 20:11:49 2018	(r469689)
+++ head/net/netatalk3/files/patch-etc_uams_openssl__compat.h	Fri May 11 20:14:54 2018	(r469690)
@@ -5,7 +5,7 @@
  #define OPENSSL_COMPAT_H
  
 -#if OPENSSL_VERSION_NUMBER < 0x10100000L
-+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
++#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L)
  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-head mailing list