SOURCES: php-pear-PEAR_Command_Packaging.patch - try not to emit u...

adamg adamg at pld-linux.org
Mon Sep 3 02:39:05 CEST 2007


Author: adamg                        Date: Mon Sep  3 00:39:05 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- try not to emit unnecessary warnings

---- Files affected:
SOURCES:
   php-pear-PEAR_Command_Packaging.patch (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SOURCES/php-pear-PEAR_Command_Packaging.patch
diff -u SOURCES/php-pear-PEAR_Command_Packaging.patch:1.5 SOURCES/php-pear-PEAR_Command_Packaging.patch:1.6
--- SOURCES/php-pear-PEAR_Command_Packaging.patch:1.5	Wed Nov  8 20:17:13 2006
+++ SOURCES/php-pear-PEAR_Command_Packaging.patch	Mon Sep  3 02:39:00 2007
@@ -286,7 +286,7 @@
  
          // remove the trailing newline
          $info['extra_headers'] = trim($info['extra_headers']);
-+        $info['have_optional_deps'] = count($info['optional']);
++        $info['have_optional_deps'] = @count($info['optional']);
 +        $info['optional'] = $info['have_optional_deps'] ? join(' ', $info['optional']) : '';
 +
 +		if (isset($info['optional-pkg']) && count($info['optional-pkg'])) {
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/php-pear-PEAR_Command_Packaging.patch?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list