Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Feb 2007 13:31:06 +0100 (CET)
From:      Martin Matuska <martin@matuska.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/109012: [PATCH] www/eaccelerator 0.9.5
Message-ID:  <20070210123106.0F9953F42C@mail.vx.sk>
Resent-Message-ID: <200702101240.l1ACe8qH090559@freefall.freebsd.org>

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

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



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