summaryrefslogtreecommitdiffstats
path: root/0001-declare-mimemessage-data-property-for-8.2.patch
diff options
context:
space:
mode:
Diffstat (limited to '0001-declare-mimemessage-data-property-for-8.2.patch')
-rw-r--r--0001-declare-mimemessage-data-property-for-8.2.patch24
1 files changed, 0 insertions, 24 deletions
diff --git a/0001-declare-mimemessage-data-property-for-8.2.patch b/0001-declare-mimemessage-data-property-for-8.2.patch
deleted file mode 100644
index 489a7a7..0000000
--- a/0001-declare-mimemessage-data-property-for-8.2.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From e633e2308afe992a2eaf2bbf3f0ab34fc420ce77 Mon Sep 17 00:00:00 2001
-From: Remi Collet <remi@php.net>
-Date: Tue, 24 May 2022 16:16:44 +0200
-Subject: [PATCH] declare mimemessage::data property (for 8.2)
-
----
- mailparse.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/mailparse.c b/mailparse.c
-index 58c8b7b..631a225 100644
---- a/mailparse.c
-+++ b/mailparse.c
-@@ -160,6 +160,7 @@ PHP_MINIT_FUNCTION(mailparse)
- INIT_CLASS_ENTRY(mmce, "mimemessage", mimemessage_methods);
- mimemsg_class_entry = zend_register_internal_class(&mmce);
-
-+ zend_declare_property_null(mimemsg_class_entry, "data", sizeof("data")-1, ZEND_ACC_PUBLIC);
-
- le_mime_part = zend_register_list_destructors_ex(mimepart_dtor, NULL, mailparse_msg_name, module_number);
-
---
-2.35.3
-