ports/168151: [maintainer update] mail/pecl-pop3: fix build for PHP 5.4

Kuan-Chung Chiu buganini at gmail.com
Sat May 19 21:30:02 UTC 2012


>Number:         168151
>Category:       ports
>Synopsis:       [maintainer update] mail/pecl-pop3: fix build for PHP 5.4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 19 21:30:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Kuan-Chung Chiu
>Release:        
>Organization:
N/A
>Environment:
>Description:

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff --git a/mail/pecl-pop3/files/patch-pop3.c b/mail/pecl-pop3/files/patch-pop3.c
index 2103783..971fb7a 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)


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list