From 88b4dcdabe512992ae79a50fc333e4e463d91634 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Thu, 16 Dec 2021 18:44:45 +0100 Subject: gnu: php: Properly fix openssl_x509_checkpurpose_basic.phpt. * gnu/packages/php.scm (php)[source]: Add patch. * gnu/packages/patches/php-openssl_x509_checkpurpose_basic.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. Thanks to Diego Nicola Barbato --- gnu/packages/php.scm | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'gnu/packages/php.scm') diff --git a/gnu/packages/php.scm b/gnu/packages/php.scm index a633e0790be..191dcafb4ae 100644 --- a/gnu/packages/php.scm +++ b/gnu/packages/php.scm @@ -70,7 +70,9 @@ (sha256 (base32 "1y0f1xgfi8cks6npdhrycg8r9g3q0pikqgf5h4xafpy8znmb61g3")) - (patches (search-patches "php-bug-74093-test.patch")) + (patches + (search-patches "php-bug-74093-test.patch" + "php-openssl_x509_checkpurpose_basic.patch")) (modules '((guix build utils))) (snippet '(with-directory-excursion "ext" @@ -343,10 +345,7 @@ ;; Renicing a process fails in the build environment. "ext/standard/tests/general_functions/proc_nice_basic.phpt" ;; Can fail on fast machines? - "Zend/tests/bug74093.phpt" - - ;; Unknown reason . - "ext/openssl/tests/openssl_x509_checkpurpose_basic.phpt")) + "Zend/tests/bug74093.phpt")) ;; Accomodate two extra openssl errors flanking the expected one: ;; random number generator:RAND_{load,write}_file:Cannot open file -- cgit v1.2.3