Hi,

For some strange reason i can't push my changes to alioth, i'm sending a
patch then.

Cheers,

-- 
Luis Uribe
http://eviled.org
diff --git a/debian/control b/debian/control
index d2ea893..5366de2 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,7 @@ Homepage: http://pear.phpunit.de/
 
 Package: php-codecoverage
 Architecture: all
-Depends: ${misc:Depends}, pear-phpunit-channel, php-text-template, php-file-iterator, php-token-stream, libjs-jquery, libjs-yui
+Depends: ${misc:Depends}, pear-phpunit-channel, php-text-template, php-file-iterator, php-token-stream, libjs-jquery, libjs-yui, php5-xdebug
 Description: provides collection, processing and rendering for PHP code coverage information
  This PEAR package provides collection, processing, and rendering functionality
  for PHP code coverage information. It is part of a collection of PEAR packages
diff --git a/debian/copyright b/debian/copyright
index 44f28d3..a54ce4a 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -15,26 +15,23 @@ License: BSD
 
 License: BSD
  Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ 3. The name of the author may not be used to endorse or promote products
+ derived from this software without specific prior written permission.
  .
- Redistributions of source code must retain the above copyright notice, this
- list of conditions and the following disclaimer.
- .
- Redistributions in binary form must reproduce the above copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
- .
- Neither the name of Sebastian Bergmann nor the names of his contributors may
- be used to endorse or promote products derived from this software without
- specific prior written permission.
-
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
- FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
- CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/debian/patches/02_php-tokenstream.patch b/debian/patches/02_php-tokenstream.patch
new file mode 100644
index 0000000..cb95d89
--- /dev/null
+++ b/debian/patches/02_php-tokenstream.patch
@@ -0,0 +1,16 @@
+Description: Patch to fix php-token-stream path
+Author: Luis Uribe <a...@eviled.org>
+
+Index: php-codecoverage/PHP_CodeCoverage-1.1.2/PHP/CodeCoverage/Autoload.php
+===================================================================
+--- php-codecoverage.orig/PHP_CodeCoverage-1.1.2/PHP/CodeCoverage/Autoload.php	2012-04-19 15:05:17.000000000 -0500
++++ php-codecoverage/PHP_CodeCoverage-1.1.2/PHP/CodeCoverage/Autoload.php	2012-04-19 15:05:56.000000000 -0500
+@@ -44,7 +44,7 @@
+  */
+ 
+ require_once 'File/Iterator/Autoload.php';
+-require_once 'PHP/Token/Stream/Autoload.php';
++require_once 'Token/Token/Stream/Autoload.php';
+ require_once 'Text/Template/Autoload.php';
+ 
+ function php_codecoverage_autoload($class = NULL) {
diff --git a/debian/patches/series b/debian/patches/series
index 53c2e6a..b215665 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 01_channel.patch
+02_php-tokenstream.patch

Attachment: signature.asc
Description: Digital signature

Reply via email to