summaryrefslogtreecommitdiffstats
path: root/php-bartlett-PHP-CompatInfo-rpm.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-07-24 16:32:55 +0200
committerRemi Collet <fedora@famillecollet.com>2014-07-24 16:32:55 +0200
commit5554752a58667cf367b744334d56426b5c24fc38 (patch)
tree6db4f2440e94dcfa1beb728f0e046855625197ec /php-bartlett-PHP-CompatInfo-rpm.patch
parent54e8ba372738a5304b37ab65283602dd332b0530 (diff)
php-bartlett-PHP-CompatInfo: 3.2.0
Diffstat (limited to 'php-bartlett-PHP-CompatInfo-rpm.patch')
-rw-r--r--php-bartlett-PHP-CompatInfo-rpm.patch3
1 files changed, 2 insertions, 1 deletions
diff --git a/php-bartlett-PHP-CompatInfo-rpm.patch b/php-bartlett-PHP-CompatInfo-rpm.patch
index 0589316..a39ef5a 100644
--- a/php-bartlett-PHP-CompatInfo-rpm.patch
+++ b/php-bartlett-PHP-CompatInfo-rpm.patch
@@ -7,7 +7,7 @@ diff -up ./bin/phpcompatinfo.rpm ./bin/phpcompatinfo
<?php
ini_set('memory_limit', -1);
-@@ -22,7 +22,24 @@ if (\Phar::running()) {
+@@ -22,7 +22,25 @@ if (\Phar::running()) {
}
}
}
@@ -23,6 +23,7 @@ diff -up ./bin/phpcompatinfo.rpm ./bin/phpcompatinfo
+
+$loader = new UniversalClassLoader();
+$loader->registerNamespaces(array(
++ 'Doctrine\\Common\\Cache' => $vendorDir,
+ 'Symfony\\Component\\Finder' => $vendorDir,
+ 'Symfony\\Component\\EventDispatcher' => $vendorDir,
+ 'Symfony\\Component\\Console' => $vendorDir,