SOURCES: php-pear-PEAR-old-api.patch (NEW) - drop php compatabilit...

glen glen at pld-linux.org
Mon Nov 28 07:49:06 CET 2005


Author: glen                         Date: Mon Nov 28 06:49:06 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- drop php compatability in PEAR code (brr)

---- Files affected:
SOURCES:
   php-pear-PEAR-old-api.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/php-pear-PEAR-old-api.patch
diff -u /dev/null SOURCES/php-pear-PEAR-old-api.patch:1.1
--- /dev/null	Mon Nov 28 07:49:06 2005
+++ SOURCES/php-pear-PEAR-old-api.patch	Mon Nov 28 07:49:01 2005
@@ -0,0 +1,20 @@
+--- ./pearcmd.php	2005-11-28 08:32:28.000000000 +0200
++++ /usr/share/pear/pearcmd.php	2005-11-08 23:59:21.000000000 +0200
+@@ -26,17 +26,6 @@
+     define('PEAR_RUNTYPE', 'pear');
+ }
+ define('PEAR_IGNORE_BACKTRACE', 1);
+-if (!function_exists('file_get_contents')) {
+-    function file_get_contents($filename)
+-    {
+-        $fp = fopen($filename, 'rb');
+-        $ret = '';
+-        while (!feof($fp)) {
+-            $ret .= fread($fp, 8092);;
+-        }
+-        return $ret;
+-    }
+-}
+ /**
+  * @nodep Gtk
+  */
================================================================



More information about the pld-cvs-commit mailing list