File: mail-like-patch

package info (click to toggle)
libconfig-model-dpkg-perl 3.014
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,200 kB
  • sloc: perl: 8,255; python: 242; makefile: 77; javascript: 16; sh: 1
file content (44 lines) | stat: -rw-r--r-- 1,847 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
From: =?utf-8?q?David_Pr=C3=A9vot?= <taffit@debian.org>
Date: Tue, 5 Nov 2013 20:39:36 -0400
Subject: Adapt Doctrine, Symphony, Patchwork and Pimple path
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

The Debian package depends on the needed classes instead of embedding
them, i.e. php-doctrine-common, php-symfony-console,
php-symfony-routing, php-patchwork-utf8 and php-pimple.

php-doctrine-dbal can’t be used currently because upstream made some
modifications that makes it incompatible with the original one.

Forwarded: not-needed
Last-Update: 2014-05-26

Gbp: Topic path
---
 lib/base.php | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/lib/base.php b/lib/base.php
index c4824d1..6c6d78e 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -411,12 +411,12 @@ class OC {
 		// register autoloader
 		require_once __DIR__ . '/autoloader.php';
 		self::$loader = new \OC\Autoloader();
-		self::$loader->registerPrefix('Doctrine\\Common', 'doctrine/common/lib');
+		self::$loader->registerPrefix('Doctrine\\Common', '/usr/share/php');
 		self::$loader->registerPrefix('Doctrine\\DBAL', 'doctrine/dbal/lib');
-		self::$loader->registerPrefix('Symfony\\Component\\Routing', 'symfony/routing');
-		self::$loader->registerPrefix('Symfony\\Component\\Console', 'symfony/console');
-		self::$loader->registerPrefix('Patchwork', '3rdparty');
-		self::$loader->registerPrefix('Pimple', '3rdparty/Pimple');
+		self::$loader->registerPrefix('Symfony\\Component\\Routing', '/usr/share/php');
+		self::$loader->registerPrefix('Symfony\\Component\\Console', '/usr/share/php');
+		self::$loader->registerPrefix('Patchwork', '/usr/share/php');
+		self::$loader->registerPrefix('Pimple', '/usr/share/php');
 		spl_autoload_register(array(self::$loader, 'load'));
 
 		// set some stuff