Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 May 2012 21:27:07 GMT
From:      Kuan-Chung Chiu <buganini@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/168151: [maintainer update] mail/pecl-pop3: fix build for PHP 5.4
Message-ID:  <201205192127.q4JLR7aj062359@red.freebsd.org>
Resent-Message-ID: <201205192130.q4JLU2D5048328@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205192127.q4JLR7aj062359>