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
readline? ( !libedit )
recode? ( !imap !mysqli !mysql )
session-mm? ( session !threads )
- mysql? ( || ( mysqli pdo ) )
+ mysql? ( hash || ( mysqli pdo ) )
+ mysqli? ( hash )
"
PATCHES=(
"${FILESDIR}/php-freetype-2.9.1.patch"
readline? ( !libedit )
recode? ( !imap !mysqli !mysql )
session-mm? ( session !threads )
- mysql? ( || ( mysqli pdo ) )
+ mysql? ( hash || ( mysqli pdo ) )
+ mysqli? ( hash )
zip-encryption? ( zip )
"
PATCHES=(