mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Fix build with php 5.4.
PR: ports/168151 Submitted by: Kuan-Chung Chiu <buganini@gmail.com>
This commit is contained in:
parent
77cb321f55
commit
f110497250
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=297004
@ -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>
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user