SOURCES: php-pear-Mail_Mime-variable-refs.patch - two more chunks

adamg adamg at pld-linux.org
Fri Aug 25 18:44:11 CEST 2006


Author: adamg                        Date: Fri Aug 25 16:44:11 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- two more chunks

---- Files affected:
SOURCES:
   php-pear-Mail_Mime-variable-refs.patch (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SOURCES/php-pear-Mail_Mime-variable-refs.patch
diff -u SOURCES/php-pear-Mail_Mime-variable-refs.patch:1.3 SOURCES/php-pear-Mail_Mime-variable-refs.patch:1.4
--- SOURCES/php-pear-Mail_Mime-variable-refs.patch:1.3	Mon Jun 19 13:39:16 2006
+++ SOURCES/php-pear-Mail_Mime-variable-refs.patch	Fri Aug 25 18:44:05 2006
@@ -22,3 +22,27 @@
          }
      }
  
+diff -bur Mail_Mime-1.3.1.orig/usr/share/pear/Mail/mime.php Mail_Mime-1.3.1/usr/share/pear/Mail/mime.php
+--- Mail_Mime-1.3.1.orig/usr/share/pear/Mail/mime.php	2006-08-25 18:36:36.000000000 +0200
++++ Mail_Mime-1.3.1/usr/share/pear/Mail/mime.php	2006-08-25 18:37:44.000000000 +0200
+@@ -354,7 +354,8 @@
+     function &_addMixedPart()
+     {
+         $params['content_type'] = 'multipart/mixed';
+-        return new Mail_mimePart('', $params);
++        $part = new Mail_mimePart('', $params);
++        return $part;
+     }
+ 
+     /**
+@@ -431,7 +432,8 @@
+         $params['encoding']     = $value['encoding'];
+         $params['disposition']  = 'attachment';
+         $params['dfilename']    = $value['name'];
+-        $obj->addSubpart($value['body'], $params);
++        $part = $obj->addSubpart($value['body'], $params);
++        return $part;
+     }
+ 
+     /**
+Tylko w Mail_Mime-1.3.1/usr/share/pear/Mail: mime.php~
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/php-pear-Mail_Mime-variable-refs.patch?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list