From e128acd7c393f04ff30e0995680ce9dea4a2a99c Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Sat, 12 Dec 2015 20:37:28 -0500 Subject: dev-php/PEAR-Mail_Mime: remove unused patch files. Package-Manager: portage-2.2.24 --- .../files/1.5.2-php-pass-by-reference-fix.patch | 74 --------------------- .../files/1.8.3-php-pass-by-reference-fix.patch | 74 --------------------- .../files/php-pass-by-reference-fix.patch | 76 ---------------------- 3 files changed, 224 deletions(-) delete mode 100644 dev-php/PEAR-Mail_Mime/files/1.5.2-php-pass-by-reference-fix.patch delete mode 100644 dev-php/PEAR-Mail_Mime/files/1.8.3-php-pass-by-reference-fix.patch delete mode 100644 dev-php/PEAR-Mail_Mime/files/php-pass-by-reference-fix.patch (limited to 'dev-php/PEAR-Mail_Mime') diff --git a/dev-php/PEAR-Mail_Mime/files/1.5.2-php-pass-by-reference-fix.patch b/dev-php/PEAR-Mail_Mime/files/1.5.2-php-pass-by-reference-fix.patch deleted file mode 100644 index b18e4c642514..000000000000 --- a/dev-php/PEAR-Mail_Mime/files/1.5.2-php-pass-by-reference-fix.patch +++ /dev/null @@ -1,74 +0,0 @@ ---- mime.php.orig 2007-08-16 12:16:47.000000000 +0200 -+++ mime.php 2007-08-16 12:25:07.000000000 +0200 -@@ -376,7 +376,7 @@ - * @return string contents of $file_name - * @access private - */ -- function &_file2str($file_name) -+ function _file2str($file_name) - { - if (!is_readable($file_name)) { - $err = PEAR::raiseError('File is not readable ' . $file_name); -@@ -413,7 +413,7 @@ - * @return object The text mimePart object - * @access private - */ -- function &_addTextPart(&$obj, $text) -+ function _addTextPart(&$obj, $text) - { - $params['content_type'] = 'text/plain'; - $params['encoding'] = $this->_build_params['text_encoding']; -@@ -437,7 +437,7 @@ - * @return object The html mimePart object - * @access private - */ -- function &_addHtmlPart(&$obj) -+ function _addHtmlPart(&$obj) - { - $params['content_type'] = 'text/html'; - $params['encoding'] = $this->_build_params['html_encoding']; -@@ -459,7 +459,7 @@ - * @return object The multipart/mixed mimePart object - * @access private - */ -- function &_addMixedPart() -+ function _addMixedPart() - { - $params = array(); - $params['content_type'] = 'multipart/mixed'; -@@ -480,7 +480,7 @@ - * @return object The multipart/mixed mimePart object - * @access private - */ -- function &_addAlternativePart(&$obj) -+ function _addAlternativePart(&$obj) - { - $params['content_type'] = 'multipart/alternative'; - if (is_object($obj)) { -@@ -502,7 +502,7 @@ - * @return object The multipart/mixed mimePart object - * @access private - */ -- function &_addRelatedPart(&$obj) -+ function _addRelatedPart(&$obj) - { - $params['content_type'] = 'multipart/related'; - if (is_object($obj)) { -@@ -523,7 +523,7 @@ - * @return object The image mimePart object - * @access private - */ -- function &_addHtmlImagePart(&$obj, $value) -+ function _addHtmlImagePart(&$obj, $value) - { - $params['content_type'] = $value['c_type']; - $params['encoding'] = 'base64'; -@@ -546,7 +546,7 @@ - * @return object The image mimePart object - * @access private - */ -- function &_addAttachmentPart(&$obj, $value) -+ function _addAttachmentPart(&$obj, $value) - { - $params['dfilename'] = $value['name']; - $params['encoding'] = $value['encoding']; diff --git a/dev-php/PEAR-Mail_Mime/files/1.8.3-php-pass-by-reference-fix.patch b/dev-php/PEAR-Mail_Mime/files/1.8.3-php-pass-by-reference-fix.patch deleted file mode 100644 index ab87c19287e6..000000000000 --- a/dev-php/PEAR-Mail_Mime/files/1.8.3-php-pass-by-reference-fix.patch +++ /dev/null @@ -1,74 +0,0 @@ ---- a/Mail/mime.php.orig 2007-08-16 12:16:47.000000000 +0200 -+++ b/Mail/mime.php 2007-08-16 12:25:07.000000000 +0200 -@@ -376,7 +376,7 @@ - * @return string contents of $file_name - * @access private - */ -- function &_file2str($file_name) -+ function _file2str($file_name) - { - if (!is_readable($file_name)) { - $err = PEAR::raiseError('File is not readable ' . $file_name); -@@ -413,7 +413,7 @@ - * @return object The text mimePart object - * @access private - */ -- function &_addTextPart(&$obj, $text) -+ function _addTextPart(&$obj, $text) - { - $params['content_type'] = 'text/plain'; - $params['encoding'] = $this->_build_params['text_encoding']; -@@ -437,7 +437,7 @@ - * @return object The html mimePart object - * @access private - */ -- function &_addHtmlPart(&$obj) -+ function _addHtmlPart(&$obj) - { - $params['content_type'] = 'text/html'; - $params['encoding'] = $this->_build_params['html_encoding']; -@@ -459,7 +459,7 @@ - * @return object The multipart/mixed mimePart object - * @access private - */ -- function &_addMixedPart() -+ function _addMixedPart() - { - $params = array(); - $params['content_type'] = 'multipart/mixed'; -@@ -480,7 +480,7 @@ - * @return object The multipart/mixed mimePart object - * @access private - */ -- function &_addAlternativePart(&$obj) -+ function _addAlternativePart(&$obj) - { - $params['content_type'] = 'multipart/alternative'; - if (is_object($obj)) { -@@ -502,7 +502,7 @@ - * @return object The multipart/mixed mimePart object - * @access private - */ -- function &_addRelatedPart(&$obj) -+ function _addRelatedPart(&$obj) - { - $params['content_type'] = 'multipart/related'; - if (is_object($obj)) { -@@ -523,7 +523,7 @@ - * @return object The image mimePart object - * @access private - */ -- function &_addHtmlImagePart(&$obj, $value) -+ function _addHtmlImagePart(&$obj, $value) - { - $params['content_type'] = $value['c_type']; - $params['encoding'] = 'base64'; -@@ -546,7 +546,7 @@ - * @return object The image mimePart object - * @access private - */ -- function &_addAttachmentPart(&$obj, $value) -+ function _addAttachmentPart(&$obj, $value) - { - $params['dfilename'] = $value['name']; - $params['encoding'] = $value['encoding']; diff --git a/dev-php/PEAR-Mail_Mime/files/php-pass-by-reference-fix.patch b/dev-php/PEAR-Mail_Mime/files/php-pass-by-reference-fix.patch deleted file mode 100644 index 677e67117a3c..000000000000 --- a/dev-php/PEAR-Mail_Mime/files/php-pass-by-reference-fix.patch +++ /dev/null @@ -1,76 +0,0 @@ ---- mime.php 2005-07-13 22:49:04.000000000 +0200 -+++ mime.php 2006-03-07 12:22:41.000000000 +0100 -@@ -309,7 +309,7 @@ - * @return object The text mimePart object - * @access private - */ -- function &_addTextPart(&$obj, $text) -+ function _addTextPart(&$obj, $text) - { - $params['content_type'] = 'text/plain'; - $params['encoding'] = $this->_build_params['text_encoding']; -@@ -330,7 +330,7 @@ - * @return object The html mimePart object - * @access private - */ -- function &_addHtmlPart(&$obj) -+ function _addHtmlPart(&$obj) - { - $params['content_type'] = 'text/html'; - $params['encoding'] = $this->_build_params['html_encoding']; -@@ -350,7 +350,7 @@ - * @return object The multipart/mixed mimePart object - * @access private - */ -- function &_addMixedPart() -+ function _addMixedPart() - { - $params['content_type'] = 'multipart/mixed'; - return new Mail_mimePart('', $params); -@@ -366,7 +366,7 @@ - * @return object The multipart/mixed mimePart object - * @access private - */ -- function &_addAlternativePart(&$obj) -+ function _addAlternativePart(&$obj) - { - $params['content_type'] = 'multipart/alternative'; - if (is_object($obj)) { -@@ -386,7 +386,7 @@ - * @return object The multipart/mixed mimePart object - * @access private - */ -- function &_addRelatedPart(&$obj) -+ function _addRelatedPart(&$obj) - { - $params['content_type'] = 'multipart/related'; - if (is_object($obj)) { -@@ -405,7 +405,7 @@ - * @return object The image mimePart object - * @access private - */ -- function &_addHtmlImagePart(&$obj, $value) -+ function _addHtmlImagePart(&$obj, $value) - { - $params['content_type'] = $value['c_type']; - $params['encoding'] = 'base64'; -@@ -424,7 +424,7 @@ - * @return object The image mimePart object - * @access private - */ -- function &_addAttachmentPart(&$obj, $value) -+ function _addAttachmentPart(&$obj, $value) - { - $params['content_type'] = $value['c_type']; - $params['encoding'] = $value['encoding']; ---- mimePart.php 2004-12-11 00:08:26.000000000 +0100 -+++ mimePart.php 2006-03-07 12:22:41.000000000 +0100 -@@ -261,7 +261,7 @@ - * otherwise you will not be able to add further subparts. - * @access public - */ -- function &addSubPart($body, $params) -+ function addSubPart($body, $params) - { - $this->_subparts[] = new Mail_mimePart($body, $params); - return $this->_subparts[count($this->_subparts) - 1]; -- cgit v1.2.3-65-gdbad