Summary: | security/php72-openssl: fix build with libressl-devel | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Piotr Kubaj <pkubaj> | ||||
Component: | Individual Port(s) | Assignee: | Torsten Zuehlsdorff <tz> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | brnrd, pkubaj | ||||
Priority: | --- | Keywords: | needs-qa, patch | ||||
Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(tz) |
||||
Hardware: | Any | ||||||
OS: | Any | ||||||
URL: | https://bugs.php.net/bug.php?id=76174 | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 226843 | ||||||
Attachments: |
|
Hi Piotr, I take it this patch is for the lang/php72 master port? Please always create patches relative to /usr/ports. Bernard. (In reply to Bernard Spil from comment #1) No, it's actually for php72-openssl, not a php72 port. I tried to create a patch for the master port, but it wasn't used during compilation, so I just put it in php72-openssl/files and it works. Link to upstream bug report https://bugs.php.net/bug.php?id=76174 Thanks for the patch, i will have a look at it. A commit references this bug: Author: tz Date: Thu Apr 26 10:15:13 UTC 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> Changes: head/security/php72-openssl/files/ head/security/php72-openssl/files/patch-openssl.c A commit references this bug: Author: tz Date: Thu Apr 26 10:25:57 UTC 2018 New revision: 468345 URL: https://svnweb.freebsd.org/changeset/ports/468345 Log: security/php70-openssl and security/php71-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. It is ported from security/php72-openssl in r468343 PR: 226902 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl> Changes: head/security/php70-openssl/files/ head/security/php71-openssl/files/ Patch committed and also ported to PHP 7.0 and PHP 7.1. Thanks a lot! Torsten |
Created attachment 191793 [details] patch Newly released LibreSSL 2.7 brings about a number of incompatibilities. The attached patch makes it possible to build a working PHP 7.2 OpenSSL module against LibreSSL 2.7. Tested with Poudriere on 10.4-RELEASE. I didn't (yet) try building older PHP versions against LibreSSL 2.7, but they most likely need a similar patch.