Date: Thu, 26 Apr 2018 10:15:13 +0000 (UTC) From: Torsten Zuehlsdorff <tz@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r468343 - head/security/php72-openssl/files Message-ID: <201804261015.w3QAFD6a079762@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tz Date: Thu Apr 26 10:15:13 2018 New Revision: 468343 URL: https://svnweb.freebsd.org/changeset/ports/468343 Log: security/php72-openssl: fix build with libressl-devel LibreSSL 2.7 brings out a number of incompatibilities. The new patch allows PHP to compile against the new LibreSSL version. PR: 226902 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl> Added: head/security/php72-openssl/files/ head/security/php72-openssl/files/patch-openssl.c (contents, props changed) Added: head/security/php72-openssl/files/patch-openssl.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/php72-openssl/files/patch-openssl.c Thu Apr 26 10:15:13 2018 (r468343) @@ -0,0 +1,11 @@ +--- openssl.c.orig 2018-03-27 13:10:48 UTC ++++ openssl.c +@@ -566,7 +566,7 @@ ZEND_GET_MODULE(openssl) + #endif + + /* {{{ OpenSSL compatibility functions and macros */ +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined (LIBRESSL_VERSION_NUMBER) ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || ( defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L ) + #define EVP_PKEY_get0_RSA(_pkey) _pkey->pkey.rsa + #define EVP_PKEY_get0_DH(_pkey) _pkey->pkey.dh + #define EVP_PKEY_get0_DSA(_pkey) _pkey->pkey.dsa
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804261015.w3QAFD6a079762>