aboutsummaryrefslogtreecommitdiff
path: root/www/eaccelerator/files/patch-ea_restore.c
diff options
context:
space:
mode:
Diffstat (limited to 'www/eaccelerator/files/patch-ea_restore.c')
-rw-r--r--www/eaccelerator/files/patch-ea_restore.c12
1 files changed, 12 insertions, 0 deletions
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