]> git.pld-linux.org Git - packages/ZendFramework.git/blob - ZendFramework-deps.patch
Use php from php-devel package
[packages/ZendFramework.git] / ZendFramework-deps.patch
1 --- ZendFramework-1.7.6/library/Zend/Service/Audioscrobbler/Exception.php~      2009-03-10 22:15:39.811374312 +0200
2 +++ ZendFramework-1.7.6/library/Zend/Service/Audioscrobbler/Exception.php       2009-03-10 22:15:31.689629002 +0200
3 @@ -0,0 +1,32 @@
4 +<?php
5 +/**
6 + * Zend Framework
7 + *
8 + * LICENSE
9 + *
10 + * This source file is subject to the new BSD license that is bundled
11 + * with this package in the file LICENSE.txt.
12 + * It is also available through the world-wide-web at this URL:
13 + * http://framework.zend.com/license/new-bsd
14 + * If you did not receive a copy of the license and are unable to
15 + * obtain it through the world-wide-web, please send an email
16 + * to license@zend.com so we can send you a copy immediately.
17 + *
18 + * @category   Zend
19 + * @package    Zend_Service
20 + * @subpackage Audioscrobbler
21 + * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
22 + * @license    http://framework.zend.com/license/new-bsd     New BSD License
23 + * @version    $Id$
24 + */
25 +
26 +/**
27 + * @category   Zend
28 + * @package    Zend_Service
29 + * @subpackage Audioscrobbler
30 + * @copyright  Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
31 + * @license    http://framework.zend.com/license/new-bsd     New BSD License
32 + */
33 +class Zend_Service_Audioscrobbler_Exception extends Exception
34 +{
35 +}
36 --- ZendFramework-1.12.15/library/Zend/Xml/Security.php~        2015-08-17 14:18:52.000000000 +0300
37 +++ ZendFramework-1.12.15/library/Zend/Xml/Security.php 2015-08-17 14:19:42.795236199 +0300
38 @@ -40,6 +40,7 @@
39      {
40          foreach (self::getEntityComparison($xml) as $compare) {
41              if (strpos($xml, $compare) !== false) {
42 +                require_once 'Zend/Xml/Exception.php';
43                  throw new Zend_Xml_Exception(self::ENTITY_DETECT);
44              }
45          }
46 @@ -96,7 +96,7 @@
47              foreach ($dom->childNodes as $child) {
48                  if ($child->nodeType === XML_DOCUMENT_TYPE_NODE) {
49                      if ($child->entities->length > 0) {
50 -                        require_once 'Exception.php';
51 +                        require_once 'Zend/Xml/Exception.php';
52                          throw new Zend_Xml_Exception(self::ENTITY_DETECT);
53                      }
54                  }
55 @@ -130,7 +130,7 @@
56      public static function scanFile($file, DOMDocument $dom = null)
57      {
58          if (!file_exists($file)) {
59 -            require_once 'Exception.php';
60 +            require_once 'Zend/Xml/Exception.php';
61              throw new Zend_Xml_Exception(
62                  "The file $file specified doesn't exist"
63              );
64 --- ZendFramework-1.12.11/library/Zend/Loader/AutoloaderFactory.php~    2015-04-29 18:13:53.000000000 +0300
65 +++ ZendFramework-1.12.11/library/Zend/Loader/AutoloaderFactory.php     2015-04-29 18:20:50.748094112 +0300
66 @@ -82,7 +82,7 @@
67          }
68  
69          if (!is_array($options) && !($options instanceof Traversable)) {
70 -            require_once 'Exception/InvalidArgumentException.php';
71 +            require_once 'Zend/Loader/Exception/InvalidArgumentException.php';
72              throw new Zend_Loader_Exception_InvalidArgumentException(
73                  'Options provided must be an array or Traversable'
74              );
75 @@ -105,7 +105,7 @@
76                  // Autoload with standard autoloader
77                  $autoloader = self::getStandardAutoloader();
78                  if (!class_exists($class) && !$autoloader->autoload($class)) {
79 -                    require_once 'Exception/InvalidArgumentException.php';
80 +                    require_once 'Zend/Loader/Exception/InvalidArgumentException.php';
81                      throw new Zend_Loader_Exception_InvalidArgumentException(sprintf(
82                          'Autoloader class "%s" not loaded', 
83                          $class
84 @@ -116,7 +116,7 @@
85                  // additionally instanceof is also broken for this use case
86                  if (version_compare(PHP_VERSION, '5.3.7', '>=')) {
87                          if (!is_subclass_of($class, 'Zend_Loader_SplAutoloader')) {
88 -                        require_once 'Exception/InvalidArgumentException.php';
89 +                        require_once 'Zend/Loader/Exception/InvalidArgumentException.php';
90                          throw new Zend_Loader_Exception_InvalidArgumentException(sprintf(
91                              'Autoloader class %s must implement Zend\\Loader\\SplAutoloader', 
92                              $class
93 @@ -159,7 +159,7 @@
94      public static function getRegisteredAutoloader($class)
95      {
96          if (!isset(self::$loaders[$class])) {
97 -            require_once 'Exception/InvalidArgumentException.php';
98 +            require_once 'Zend/Loader/Exception/InvalidArgumentException.php';
99              throw new Zend_Loader_Exception_InvalidArgumentException(sprintf('Autoloader class "%s" not loaded', $class));
100          }
101          return self::$loaders[$class];
This page took 0.066387 seconds and 4 git commands to generate.