Commits

Ryan Schmidt authored ec5c7f035ad
php-pop3: unified port; add patch to fix build with php 5.4; put examples in the right place; add modeline

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@93171 d073be05-634f-4543-b044-5fe20cf6d1d6
No tags

php/php-pop3/files/patch-pop3.c.diff

Added
1 +https://bugs.php.net/56932
2 +--- pop3.c.orig 2005-07-25 16:47:03.000000000 -0500
3 ++++ pop3.c 2012-05-16 20:53:32.000000000 -0500
4 +@@ -172,8 +172,7 @@
5 +
6 + intern = emalloc(sizeof(pop3_object));
7 + intern->zo.ce = class_type;
8 +- intern->zo.in_get = 0;
9 +- intern->zo.in_set = 0;
10 ++ intern->zo.guards = NULL;
11 + intern->zo.properties = NULL;
12 + intern->ptr = NULL;
13 +
14 +@@ -200,7 +199,7 @@
15 + *
16 + * Every user visible function must have an entry in pop3_functions[].
17 + */
18 +-function_entry pop3_functions[] = {
19 ++zend_function_entry pop3_functions[] = {
20 + PHP_FE(pop3_open, NULL)
21 + PHP_FE(pop3_close, NULL)
22 + PHP_FE(pop3_get_message_count, NULL)
23 +@@ -221,7 +220,7 @@
24 +
25 + /* {{{ pop3_class_functions
26 + */
27 +-function_entry pop3_class_functions[] = {
28 ++zend_function_entry pop3_class_functions[] = {
29 + POP3_ME_MAPPING(pop3, pop3_open, NULL)
30 + POP3_ME_MAPPING(get_message_count, pop3_get_message_count, NULL)
31 + POP3_ME_MAPPING(get_account_size, pop3_get_account_size, NULL)

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut