dev-lang/php: Recent mysqlnd driver needs hash extension
authorBrian Evans <grknight@gentoo.org>
Thu, 20 Sep 2018 02:32:16 +0000 (22:32 -0400)
committerBrian Evans <grknight@gentoo.org>
Thu, 20 Sep 2018 02:32:16 +0000 (22:32 -0400)
commita51890c8496984b6e774706bcdb05ff72bc8c4ce
tree43d194ba3948090f9bf36e1c35332780ca6aa005
parent3803347d226d96dd3d9c5fc36f3219d7b8e9dd41
dev-lang/php: Recent mysqlnd driver needs hash extension

Set REQUIRED_USE on mysql and mysqli to need hash as build failures occur without.

Example:
ext/mysqlnd/mysqlnd_auth.o: In function `php_mysqlnd_scramble_sha2':
mysqlnd_auth.c:(.text+0x1054): undefined reference to `PHP_SHA256Init'

Does not affect PHP 5.6 or 7.0 as they are security only

Closes: https://bugs.gentoo.org/666598
dev-lang/php/php-7.1.22.ebuild
dev-lang/php/php-7.2.10.ebuild