packages: php-phing/php-phing.spec, php-phing/bug-797.patch (NEW) - add pat...

glen glen at pld-linux.org
Thu Sep 29 17:44:25 CEST 2011


Author: glen                         Date: Thu Sep 29 15:44:25 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- add patch for PhpLintTask performance win

---- Files affected:
packages/php-phing:
   php-phing.spec (1.29 -> 1.30) , bug-797.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/php-phing/php-phing.spec
diff -u packages/php-phing/php-phing.spec:1.29 packages/php-phing/php-phing.spec:1.30
--- packages/php-phing/php-phing.spec:1.29	Thu Sep 29 17:42:49 2011
+++ packages/php-phing/php-phing.spec	Thu Sep 29 17:44:19 2011
@@ -14,6 +14,7 @@
 Source0:	http://pear.phing.info/get/phing-%{version}.tgz
 # Source0-md5:	6c8bf6eef21195b123015ea1ad9e2d3d
 Source1:	%{pkgname}.sh
+Patch0:		bug-797.patch
 URL:		http://www.phing.info/
 BuildRequires:	php-channel(pear.phing.info)
 BuildRequires:	php-pear >= 4:1.3.8
@@ -78,6 +79,7 @@
 
 %prep
 %pear_package_setup -d data_dir=%{_appdir}/data
+%patch0 -p1
 
 # 2.4.4 release tarball contains .rej and .orig files junk
 find '(' -name '*~' -o -name '*.orig' -o -name '*.rej' ')' -print0 | xargs -0 -r -l512 rm -f
@@ -134,6 +136,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.30  2011/09/29 15:44:19  glen
+- add patch for PhpLintTask performance win
+
 Revision 1.29  2011/09/29 15:42:49  glen
 - up to 2.4.7.1
 

================================================================
Index: packages/php-phing/bug-797.patch
diff -u /dev/null packages/php-phing/bug-797.patch:1.1
--- /dev/null	Thu Sep 29 17:44:25 2011
+++ packages/php-phing/bug-797.patch	Thu Sep 29 17:44:19 2011
@@ -0,0 +1,11 @@
+--- phing-2.4.7.1/usr/share/pear/phing/tasks/ext/PhpLintTask.php~	2011-09-29 18:41:57.000000000 +0300
++++ phing-2.4.7.1/usr/share/pear/phing/tasks/ext/PhpLintTask.php	2011-09-29 18:42:11.258207228 +0300
+@@ -210,7 +210,7 @@
+         $command = $this->Interpreter == ''
+             ? 'php'
+             : $this->Interpreter;
+-        $command .= ' -l ';
++        $command .= ' -n -l ';
+         if(file_exists($file)) {
+             if(is_readable($file)) {
+                 if ($this->cache)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-phing/php-phing.spec?r1=1.29&r2=1.30&f=u



More information about the pld-cvs-commit mailing list