File php-crypt-tests.patch of Package php8

Index: php-8.0.0RC4/ext/standard/config.m4
===================================================================
--- php-8.0.0RC4.orig/ext/standard/config.m4	2020-11-10 11:57:27.000000000 +0100
+++ php-8.0.0RC4/ext/standard/config.m4	2020-11-15 09:13:55.955213068 +0100
@@ -278,7 +278,7 @@ dnl
 dnl If one of them is missing, use our own implementation, portable code is then possible
 dnl
 dnl This is currently enabled by default
-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" || test "$PHP_EXTERNAL_LIBCRYPT" = "no"; 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
   if test "$PHP_EXTERNAL_LIBCRYPT" = "no"; then
     AC_DEFINE_UNQUOTED(PHP_USE_PHP_CRYPT_R, 1, [Whether PHP has to use its own crypt_r])
 
openSUSE Build Service is sponsored by