aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2007-02-10 23:17:48 +0800
committerale <ale@FreeBSD.org>2007-02-10 23:17:48 +0800
commit3d832eed4abbeeaec93ace31afe4bd62b5e36e06 (patch)
treef8de153608de419f8bc8d5dda44591bea2113f75 /www
parentf44ee287c9c1d663508178eda3f3519266afd676 (diff)
downloadfreebsd-ports-gnome-3d832eed4abbeeaec93ace31afe4bd62b5e36e06.tar.gz
freebsd-ports-gnome-3d832eed4abbeeaec93ace31afe4bd62b5e36e06.tar.zst
freebsd-ports-gnome-3d832eed4abbeeaec93ace31afe4bd62b5e36e06.zip
Fix for PHP 5.2.x.
PR: ports/109012 Submitted by: Martin Matuska <martin@matuska.org> Obtained from: eaccelerator SVN
Diffstat (limited to 'www')
-rw-r--r--www/eaccelerator/Makefile1
-rw-r--r--www/eaccelerator/files/patch-ea_restore.c12
2 files changed, 13 insertions, 0 deletions
diff --git a/www/eaccelerator/Makefile b/www/eaccelerator/Makefile
index 74b513dde9e1..88ee81164fe7 100644
--- a/www/eaccelerator/Makefile
+++ b/www/eaccelerator/Makefile
@@ -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 --git a/www/eaccelerator/files/patch-ea_restore.c b/www/eaccelerator/files/patch-ea_restore.c
new file mode 100644
index 000000000000..6096110673b1
--- /dev/null
+++ b/www/eaccelerator/files/patch-ea_restore.c
@@ -0,0 +1,12 @@
+--- ea_restore.c.orig Sat Feb 10 16:15:31 2007
++++ ea_restore.c Sat Feb 10 16:16:12 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