summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-php4/pecl-mailparse')
-rw-r--r--dev-php4/pecl-mailparse/ChangeLog6
-rw-r--r--dev-php4/pecl-mailparse/Manifest2
-rw-r--r--dev-php4/pecl-mailparse/files/cvs-mailparse.c-fix.diff58
3 files changed, 64 insertions, 2 deletions
diff --git a/dev-php4/pecl-mailparse/ChangeLog b/dev-php4/pecl-mailparse/ChangeLog
index 201c9fde1b24..52b3b0da8508 100644
--- a/dev-php4/pecl-mailparse/ChangeLog
+++ b/dev-php4/pecl-mailparse/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-php4/pecl-mailparse
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php4/pecl-mailparse/ChangeLog,v 1.1 2005/09/04 15:35:56 stuart Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php4/pecl-mailparse/ChangeLog,v 1.2 2005/09/06 07:34:11 stuart Exp $
+
+ 06 Sep 2005; Stuart Herbert <stuart@gentoo.org>
+ +files/cvs-mailparse.c-fix.diff:
+ Replaced corrupted patchfile
18 Aug 2005; <stuart@gentoo.org> ChangeLog:
Initial version; replaces older dev-php/* packages
diff --git a/dev-php4/pecl-mailparse/Manifest b/dev-php4/pecl-mailparse/Manifest
index 90d2d55392f8..c5a117725a51 100644
--- a/dev-php4/pecl-mailparse/Manifest
+++ b/dev-php4/pecl-mailparse/Manifest
@@ -2,4 +2,4 @@ MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157
MD5 e690d4ce557f01fdb2997717a77ac1af ChangeLog 319
MD5 e612a6e0a85afaceb497d566ae0ef1a7 pecl-mailparse-2.1.1.ebuild 706
MD5 0e0417ccc35d51d676d71b0cf958ec46 files/digest-pecl-mailparse-2.1.1 63
-MD5 bdc498b0d5339c27d330aa8c383b99e2 files/cvs-mailparse.c-fix.diff 1942
+MD5 35dd19f4a7b42bb6210dc30fc9897d63 files/cvs-mailparse.c-fix.diff 1914
diff --git a/dev-php4/pecl-mailparse/files/cvs-mailparse.c-fix.diff b/dev-php4/pecl-mailparse/files/cvs-mailparse.c-fix.diff
new file mode 100644
index 000000000000..349853a29902
--- /dev/null
+++ b/dev-php4/pecl-mailparse/files/cvs-mailparse.c-fix.diff
@@ -0,0 +1,58 @@
+--- mailparse.c 2005-02-28 07:21:45.000000000 +0100
++++ mailparse.c 2005-08-28 13:38:08.000000000 +0200
+@@ -15,7 +15,7 @@
+ | Author: Wez Furlong <wez@thebrainroom.com> |
+ +----------------------------------------------------------------------+
+ */
+-/* $Id: mailparse.c,v 1.48 2005/02/28 05:51:40 wez Exp $ */
++/* $Id: mailparse.c,v 1.49 2005/05/12 13:02:41 wez Exp $ */
+
+ #ifdef HAVE_CONFIG_H
+ #include "config.h"
+@@ -70,7 +70,7 @@
+ {NULL, NULL, NULL}
+ };
+
+-static zend_class_entry mimemsg_class_entry;
++static zend_class_entry *mimemsg_class_entry;
+
+ function_entry mailparse_functions[] = {
+ PHP_FE(mailparse_msg_parse_file, NULL)
+@@ -138,6 +138,8 @@
+
+ PHP_MINIT_FUNCTION(mailparse)
+ {
++ zend_class_entry mmce;
++
+ #ifdef ZTS
+ zend_mailparse_globals *mailparse_globals;
+
+@@ -145,8 +147,8 @@
+ mailparse_globals = ts_resource(mailparse_globals_id);
+ #endif
+
+- INIT_CLASS_ENTRY(mimemsg_class_entry, "mimemessage", mimemessage_methods);
+- zend_register_internal_class(&mimemsg_class_entry TSRMLS_CC);
++ INIT_CLASS_ENTRY(mmce, "mimemessage", mimemessage_methods);
++ mimemsg_class_entry = zend_register_internal_class(&mmce TSRMLS_CC);
+
+
+ le_mime_part = zend_register_list_destructors_ex(mimepart_dtor, NULL, mailparse_msg_name, module_number);
+@@ -211,7 +213,7 @@
+ MAKE_STD_ZVAL(zpart);
+ php_mimepart_to_zval(zpart, part);
+
+- object_init_ex(object, &mimemsg_class_entry);
++ object_init_ex(object, mimemsg_class_entry);
+ PZVAL_IS_REF(object) = 1;
+ ZVAL_REFCOUNT(object) = 1;
+
+@@ -654,7 +656,7 @@
+ php_info_print_table_start();
+ php_info_print_table_header(2, "mailparse support", "enabled");
+ php_info_print_table_row(2, "Extension Version", mailparse_module_entry.version);
+- php_info_print_table_row(2, "Revision", "$Revision: 1.48 $");
++ php_info_print_table_row(2, "Revision", "$Revision: 1.49 $");
+ php_info_print_table_end();
+
+ DISPLAY_INI_ENTRIES();