ports/109012: [PATCH] www/eaccelerator 0.9.5

Martin Matuska martin at matuska.org
Sat Feb 10 12:40:09 UTC 2007


>Number:         109012
>Category:       ports
>Synopsis:       [PATCH] www/eaccelerator 0.9.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 10 12:40:08 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Martin Matuska
>Release:        FreeBSD 6.2-RELEASE
>Organization:
>Environment:
FreeBSD 6.2-RELEASE i386 and amd64
>Description:
Eaccelerator developers forgot to include changeset 251 in 0.9.5 release.
With PHP 5.2+ this may lead to improper behaivior (as I have experienced
with horde and other software).

Sources and additional information:
http://www.eaccelerator.net/browser/eaccelerator/branches/0.9.5/ChangeLog
http://www.eaccelerator.net/ticket/204
http://www.eaccelerator.net/changeset/251
>How-To-Repeat:
>Fix:
diff -Nbur www/eaccelerator.orig/Makefile www/eaccelerator/Makefile
--- www/eaccelerator.orig/Makefile	Sat Feb 10 12:06:45 2007
+++ www/eaccelerator/Makefile	Sat Feb 10 12:08:40 2007
@@ -7,6 +7,7 @@
 
 PORTNAME=	eaccelerator
 DISTVERSION=	0.9.5
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
 MASTER_SITE_SUBDIR=	${PORTNAME}
diff -Nbur www/eaccelerator.orig/files/patch-ea_restore.c www/eaccelerator/files/patch-ea_restore.c
--- www/eaccelerator.orig/files/patch-ea_restore.c	Thu Jan  1 00:00:00 1970
+++ www/eaccelerator/files/patch-ea_restore.c	Sat Feb 10 12:07:56 2007
@@ -0,0 +1,12 @@
+--- ea_restore.c.orig	Sat Feb 10 12:07:32 2007
++++ ea_restore.c	Sat Feb 10 12:06:58 2007
+@@ -715,6 +715,9 @@
+     to->doc_comment = NULL;
+ #endif
+ #endif
++#ifdef ZEND_ENGINE_2_2
++    to->ce = EAG(class_entry);
++#endif
+ 	return to;
+ }
+ #endif
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list