diff options
Diffstat (limited to 'php-sabre-vobject4-bin.patch')
-rw-r--r-- | php-sabre-vobject4-bin.patch | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/php-sabre-vobject4-bin.patch b/php-sabre-vobject4-bin.patch index 79ed1a5..e37bd2a 100644 --- a/php-sabre-vobject4-bin.patch +++ b/php-sabre-vobject4-bin.patch @@ -1,6 +1,6 @@ diff -up ./bin/generate_vcards.rpm ./bin/generate_vcards ---- ./bin/generate_vcards.rpm 2017-01-17 14:09:13.368837753 +0100 -+++ ./bin/generate_vcards 2017-01-17 14:12:49.417890498 +0100 +--- ./bin/generate_vcards.rpm 2019-02-19 14:05:37.000000000 +0100 ++++ ./bin/generate_vcards 2019-02-20 07:21:38.282053251 +0100 @@ -6,8 +6,7 @@ namespace Sabre\VObject; // This sucks.. we have to try to find the composer autoloader. But chances // are, we can't find it this way. So we'll do our bestest @@ -21,8 +21,8 @@ diff -up ./bin/generate_vcards.rpm ./bin/generate_vcards } diff -up ./bin/vobject.rpm ./bin/vobject ---- ./bin/vobject.rpm 2017-01-17 14:12:09.586696412 +0100 -+++ ./bin/vobject 2017-01-17 14:12:40.301846078 +0100 +--- ./bin/vobject.rpm 2019-02-19 14:05:37.000000000 +0100 ++++ ./bin/vobject 2019-02-20 07:21:38.282053251 +0100 @@ -6,8 +6,7 @@ namespace Sabre\VObject; // This sucks.. we have to try to find the composer autoloader. But chances // are, we can't find it this way. So we'll do our bestest @@ -43,14 +43,14 @@ diff -up ./bin/vobject.rpm ./bin/vobject } diff -up ./tests/bootstrap.php.rpm ./tests/bootstrap.php ---- ./tests/bootstrap.php.rpm 2016-12-06 05:14:09.000000000 +0100 -+++ ./tests/bootstrap.php 2017-01-17 14:14:50.960482740 +0100 +--- ./tests/bootstrap.php.rpm 2019-02-20 07:21:38.282053251 +0100 ++++ ./tests/bootstrap.php 2019-02-20 07:22:58.069649015 +0100 @@ -3,8 +3,7 @@ date_default_timezone_set('UTC'); $try = [ -- __DIR__ . '/../vendor/autoload.php', -- __DIR__ . '/../../../autoload.php', +- __DIR__.'/../vendor/autoload.php', +- __DIR__.'/../../../autoload.php', + '@BUILDROOT@/usr/share/php/Sabre/VObject4/autoload.php', // RPM installation ]; @@ -59,8 +59,8 @@ diff -up ./tests/bootstrap.php.rpm ./tests/bootstrap.php } } --$autoLoader->addPsr4('Sabre\\VObject\\', __DIR__ . '/VObject'); +-$autoLoader->addPsr4('Sabre\\VObject\\', __DIR__.'/VObject'); +\Fedora\Autoloader\Autoload::addPsr4('Sabre\\VObject\\', __DIR__ . '/VObject'); if (!defined('SABRE_TEMPDIR')) { - define('SABRE_TEMPDIR', __DIR__ . '/temp/'); + define('SABRE_TEMPDIR', __DIR__.'/temp/'); |