]> git.pld-linux.org Git - packages/eventum.git/commitdiff
skip loading empty psr4 and include paths
authorElan Ruusamäe <glen@delfi.ee>
Mon, 12 Oct 2015 20:16:03 +0000 (23:16 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 12 Oct 2015 20:16:03 +0000 (23:16 +0300)
autoload.patch
eventum.spec

index 8870624386fbd55b6f49e641115d81ef8cc4513a..3af00e9d0e0b9583031de073e03d063f392ddb22 100644 (file)
  
      return;
  }
+--- eventum-3.0.2-101-ge275162/vendor/composer/autoload_real.php~      2015-10-12 21:33:13.000000000 +0300
++++ eventum-3.0.2-101-ge275162/vendor/composer/autoload_real.php       2015-10-12 23:14:26.708974755 +0300
+@@ -23,20 +23,11 @@
+         self::$loader = $loader = new \Composer\Autoload\ClassLoader();
+         spl_autoload_unregister(array('ComposerAutoloaderInitEventumCore', 'loadClassLoader'));
+-        $includePaths = require __DIR__ . '/include_paths.php';
+-        array_push($includePaths, get_include_path());
+-        set_include_path(join(PATH_SEPARATOR, $includePaths));
+-
+         $map = require __DIR__ . '/autoload_namespaces.php';
+         foreach ($map as $namespace => $path) {
+             $loader->set($namespace, $path);
+         }
+-        $map = require __DIR__ . '/autoload_psr4.php';
+-        foreach ($map as $namespace => $path) {
+-            $loader->setPsr4($namespace, $path);
+-        }
+-
+         $classMap = require __DIR__ . '/autoload_classmap.php';
+         if ($classMap) {
+             $loader->addClassMap($classMap);
index ded3ef15a4782e628864871f425eacaf27bdab99..10efdfc7fb6b246a6ed59ba12d8177c9d65bb7b3 100644 (file)
@@ -2,7 +2,7 @@
 # Conditional build:
 %bcond_with    order   # with experimental order patch
 
-%define                rel             1.8
+%define                rel             1.9
 %define                subver  101
 %define                githash e275162
 %define                php_min_version 5.3.3
This page took 0.144451 seconds and 4 git commands to generate.