summaryrefslogtreecommitdiff
path: root/dev-lang/php/php-7.0.30.ebuild
diff options
context:
space:
mode:
authorAaron Bauman <bman@gentoo.org>2018-04-29 20:14:35 -0400
committerAaron Bauman <bman@gentoo.org>2018-04-29 20:14:48 -0400
commitd8af50b8b4257360017447d012a08ca968a7c2a7 (patch)
tree7dc1c86f37e83dc89784f832b04bfdff13e0bf0b /dev-lang/php/php-7.0.30.ebuild
parent91a503d1dacafb9e25663ee514dca3dae9e7bf5a (diff)
downloadgentoo-d8af50b8b4257360017447d012a08ca968a7c2a7.tar.gz
gentoo-d8af50b8b4257360017447d012a08ca968a7c2a7.tar.bz2
gentoo-d8af50b8b4257360017447d012a08ca968a7c2a7.zip
dev-lang/php: add LibreSSL compatibility patch
This patch fixes building with >=dev-libs/libressl-2.7.x. Patch taken from upstream bug https://bugs.php.net/bug.php?id=76174. Hopefully this will be included in future releases to properly detect LibreSSL versions due to API differences. Closes: https://bugs.gentoo.org/651308 Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'dev-lang/php/php-7.0.30.ebuild')
-rw-r--r--dev-lang/php/php-7.0.30.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/dev-lang/php/php-7.0.30.ebuild b/dev-lang/php/php-7.0.30.ebuild
index ec866bd84bad..8de4204d1c02 100644
--- a/dev-lang/php/php-7.0.30.ebuild
+++ b/dev-lang/php/php-7.0.30.ebuild
@@ -163,7 +163,12 @@ REQUIRED_USE="
mysql? ( || ( mysqli pdo ) )
"
-PATCHES=( "${FILESDIR}/mbstring-oniguruma-6.8.patch" )
+PATCHES=(
+ "${FILESDIR}/mbstring-oniguruma-6.8.patch"
+ # hopefully upstream will include the same version check fixes in upcoming releases
+ # patch added 20180429
+ "${FILESDIR}/libressl-compatibility.patch"
+)
PHP_MV="$(get_major_version)"