File php-crypt-tests.patch of Package php8
Index: php-8.2.0/ext/standard/config.m4
===================================================================
--- php-8.2.0.orig/ext/standard/config.m4
+++ php-8.2.0/ext/standard/config.m4
@@ -276,7 +276,7 @@ int main() {
])])
- if test "$ac_cv_crypt_blowfish" = "no" || test "$ac_cv_crypt_des" = "no" || test "$ac_cv_crypt_ext_des" = "no" || test "$ac_cv_crypt_md5" = "no" || test "$ac_cv_crypt_sha512" = "no" || test "$ac_cv_crypt_sha256" = "no" || test "$ac_cv_func_crypt_r" != "yes"; then
+ if test "$ac_cv_crypt_blowfish" = "no" || test "$ac_cv_crypt_des" = "no" || test "$ac_cv_crypt_md5" = "no" || test "$ac_cv_crypt_sha512" = "no" || test "$ac_cv_crypt_sha256" = "no" || test "$ac_cv_func_crypt_r" != "yes"; then
AC_MSG_ERROR([Cannot use external libcrypt as some algo are missing])
fi