From dfc8be54d96ad6466c683f7594e93b54fd6f0f2c Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 11 Dec 2023 14:56:07 +0100 Subject: update to 4.6.0 --- php-sabre-dav4-autoload.patch | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'php-sabre-dav4-autoload.patch') diff --git a/php-sabre-dav4-autoload.patch b/php-sabre-dav4-autoload.patch index 9cdafef..f2d8cce 100644 --- a/php-sabre-dav4-autoload.patch +++ b/php-sabre-dav4-autoload.patch @@ -1,7 +1,7 @@ diff -up ./tests/bootstrap.php.rpm ./tests/bootstrap.php --- ./tests/bootstrap.php.rpm 2019-07-05 14:29:48.486775637 +0200 +++ ./tests/bootstrap.php 2019-07-05 14:32:02.171555393 +0200 -@@ -2,15 +2,11 @@ +@@ -2,15 +2,13 @@ declare(strict_types=1); @@ -9,7 +9,9 @@ diff -up ./tests/bootstrap.php.rpm ./tests/bootstrap.php - -$autoLoader = include __DIR__.'/../vendor/autoload.php'; +require '@BUILDROOT@/usr/share/php/Sabre/DAV4/autoload.php'; -+require '/usr/share/php/Monolog/autoload.php'; ++if (file_exists('/usr/share/php/Monolog2/autoload.php')) ++ require '/usr/share/php/Monolog2/autoload.php'; ++else require '/usr/share/php/Monolog/autoload.php'; // SabreDAV tests auto loading -$autoLoader->add('Sabre\\', __DIR__); -- cgit