diff options
author | Alex Dupre <ale@FreeBSD.org> | 2012-05-20 06:44:51 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2012-05-20 06:44:51 +0000 |
commit | f110497250b66cb54f7bf2e6b79fa14090700a4d (patch) | |
tree | ed5407b4ae98335c0583b8d9932c4c09f987b43b /mail/pecl-pop3 | |
parent | 77cb321f555961d887151f7a0e56b4289007a832 (diff) | |
download | ports-f110497250b66cb54f7bf2e6b79fa14090700a4d.tar.gz ports-f110497250b66cb54f7bf2e6b79fa14090700a4d.zip |
Notes
Diffstat (limited to 'mail/pecl-pop3')
-rw-r--r-- | mail/pecl-pop3/Makefile | 2 | ||||
-rw-r--r-- | mail/pecl-pop3/files/patch-pop3.c | 22 |
2 files changed, 20 insertions, 4 deletions
diff --git a/mail/pecl-pop3/Makefile b/mail/pecl-pop3/Makefile index 94b949252f95..f9a00f00e619 100644 --- a/mail/pecl-pop3/Makefile +++ b/mail/pecl-pop3/Makefile @@ -21,7 +21,5 @@ USE_PHPIZE= yes USE_PHP_BUILD= yes USE_PHPEXT= yes PHP_MODNAME= pop3 -DEFAULT_PHP_VER=53 -IGNORE_WITH_PHP=5 .include <bsd.port.mk> diff --git a/mail/pecl-pop3/files/patch-pop3.c b/mail/pecl-pop3/files/patch-pop3.c index 2103783eb62a..971fb7ae350e 100644 --- a/mail/pecl-pop3/files/patch-pop3.c +++ b/mail/pecl-pop3/files/patch-pop3.c @@ -1,5 +1,5 @@ ---- pop3.c Fri Aug 10 04:11:56 2007 -+++ pop3.c Fri Aug 10 04:12:25 2007 +--- pop3.c.orig 2005-07-26 05:47:03.000000000 +0800 ++++ pop3.c 2012-05-20 05:24:07.000000000 +0800 @@ -172,8 +172,12 @@ intern = emalloc(sizeof(pop3_object)); @@ -13,3 +13,21 @@ intern->zo.properties = NULL; intern->ptr = NULL; +@@ -200,7 +204,7 @@ + * + * Every user visible function must have an entry in pop3_functions[]. + */ +-function_entry pop3_functions[] = { ++zend_function_entry pop3_functions[] = { + PHP_FE(pop3_open, NULL) + PHP_FE(pop3_close, NULL) + PHP_FE(pop3_get_message_count, NULL) +@@ -221,7 +225,7 @@ + + /* {{{ pop3_class_functions + */ +-function_entry pop3_class_functions[] = { ++zend_function_entry pop3_class_functions[] = { + POP3_ME_MAPPING(pop3, pop3_open, NULL) + POP3_ME_MAPPING(get_message_count, pop3_get_message_count, NULL) + POP3_ME_MAPPING(get_account_size, pop3_get_account_size, NULL) |